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])
}

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to