Hello,
I used QMAKE_EXTRA_TARGETS += xxx.so
How can I install it?
I did it like this:
qmake_extra_targets.path = $$(DESTDIR)/usr/lib
INSTALLS += qmake_extra_targets
But it did not work.
Hello,
I used QMAKE_EXTRA_TARGETS += xxx.so
How can I install it?
I did it like this:
qmake_extra_targets.path = $$(DESTDIR)/usr/lib
INSTALLS += qmake_extra_targets
But it did not work.
You have to provide a full installation structure for a custom install, the "shortcut" works only for the target variable. Consult our wiki or qmake docs for details.
Bookmarks