.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

 

posted @ 2020-11-19 15:10  朱小勇  阅读(285)  评论(0编辑  收藏  举报