1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| unix:!macx:{ CONFIG(release, debug|release): { DESTDIR = $$PWD/../Bin/Release LIBS += $$PWD/../Bin/Release/libNoteSDK.so LIBS += $$PWD/../Bin/Release/libUIElement.so LIBS += $$PWD/../Bin/Release/libPublicData.so LIBS += $$PWD/../Bin/Release/libEditText.so LIBS += $$PWD/../Bin/Release/libDataBase.so LIBS += $$PWD/../Bin/Release/libQuickEntry.so LIBS += $$PWD/../Bin/Release/libTray.so } else: CONFIG(debug, debug|release): { DESTDIR = $$PWD/../Bin/Debug LIBS += $$PWD/../Bin/Debug/libNoteSDK.so LIBS += $$PWD/../Bin/Debug/libUIElement.so LIBS += $$PWD/../Bin/Debug/libPublicData.so LIBS += $$PWD/../Bin/Debug/libEditText.so LIBS += $$PWD/../Bin/Debug/libDataBase.so LIBS += $$PWD/../Bin/Debug/libQuickEntry.so LIBS += $$PWD/../Bin/Debug/libTray.so } }
QMAKE_RPATHDIR += $$DESTDIR # Default rules for deployment. unix { target.path = /usr/bin # 将应用程序安装到 /usr/bin 目录 INSTALLS += target # 添加目标安装路径 } !isEmpty(target.path): INSTALLS += target
#每个子模块的Pro文件也要写,保证翻译文件合一 TRANSLATIONS += ../translations/kylin-note_zh_CN.ts \ ../translations/kylin-note_en_US.ts
|