.pro里加载其他pri以及常用.pro
1、包含pri
include($$PWD/third/Qslog/QsLog.pri)
2、cfk的.pro
QT += core QT += gui QT += widgets QT += quickwidgets TARGET = CreateCtkUiPlugin TEMPLATE = lib CONFIG += plugin # CTK源码路径 INCLUDEPATH += $$PWD/third_libs/ctk/include/CTK_src/Core \ += $$PWD/third_libs/ctk/include/CTK_src/PluginFramework # CTK安装路径 INCLUDEPATH += $$PWD/third_libs/ctk/include/CTK_install/Core \ += $$PWD/third_libs/ctk/include/CTK_install/PluginFramework # CTK库路径 LIBS += -L$$PWD/third_libs/ctk/libs -lCTKCore -lCTKPluginFramework HEADERS += \ absuiservice.h \ uiactivator.h \ uiservice.h \ myui.h \ includes.h FORMS += \ myui.ui SOURCES += \ uiactivator.cpp \ uiservice.cpp \ myui.cpp RESOURCES += \ resource.qrc
长风破浪会有时,直挂云帆济沧海!
可通过下方链接找到博主
https://www.cnblogs.com/judes/p/10875138.html