Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong install script if build dir is not source dir #1

Open
asappia opened this issue Jul 3, 2011 · 1 comment
Open

wrong install script if build dir is not source dir #1

asappia opened this issue Jul 3, 2011 · 1 comment

Comments

@asappia
Copy link

asappia commented Jul 3, 2011

Hi,
I cloned your repo and I discovered that it doesn't install the .so
IF i run qmake outside the source directory.

step to reproduce:
$ git clone https://github.com/wimleers/qextserialport.git
$ mkdir qextserialport-build-desktop
$ cd qextseriaport-build-desktop
$ qmake-qt4 ../qextseriaport
$ make
$ sudo make install

This should install both libs and headers, but installs just headers.
I tried to patch the bug, but I wasn't able to do anything useful.

Regards,

Alessandro

@michal-josef-spacek
Copy link

Hi,

this is simpler.

Steps to reproduce on unix:
$ git clone https://github.com/wimleers/qextserialport.git
$ cd qextserialport.git
$ qmake

This generates src/Makefile without libs install, because no files in src/build/.so.

I don't know how can i fix it. There are two problems:

  1. Dependency between creating _.so files and qmake.
  2. qmake in ROOT cannot list .so files with "libs.files = build/_.so" command in src/src.pro. We need right path for it.

M.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants