[Interest] qmake PWD variable?

tangk tangk at lemote.com
Wed Apr 2 09:55:24 CEST 2014


OS:windows 7 64bit, qt version:4.8.4
when I use the command in pro file. It will runs error with :

The syntax of the command is incorrect. so I delete the "$$PWD", It runs 
well.

and I test in ubuntu OS, the system command runs well.



win32:{
     LIBS += $$PWD/living1.lib
     system(copy $$PWD/living1.dll $$[QT_INSTALL_BINS])
}

unix:contains(QMAKE_HOST.arch, x86_64):{
     LIBS += $$PWD/linux_x64/libclave2.so
     system(cp $$PWD/linux_x64/libclave2.so $$[QT_INSTALL_LIBS])
}

unix:contains(QMAKE_HOST.arch, x86):{
     LIBS += $$PWD/linux_x86/libclave2.so
     system(cp $$PWD/linux_x86/libclave2.so $$[QT_INSTALL_LIBS])
}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140402/06a3bb8b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ebficjhh.png
Type: image/png
Size: 2649 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140402/06a3bb8b/attachment.png>


More information about the Interest mailing list