PDA

View Full Version : can we install qmake_extra_targets and how?



learning_qt
1st December 2009, 13:36
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.

wysota
3rd December 2009, 10:16
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.