FluentUI/src/FluentUI.pro

60 lines
1.2 KiB
Prolog
Raw Normal View History

2023-02-24 18:44:29 +08:00
QT += qml quick svg
CONFIG += plugin c++11
TEMPLATE = lib
TARGET = FluentUI
TARGET = $$qtLibraryTarget($$TARGET)
uri = FluentUI
##########################################
2023-02-26 23:47:07 +08:00
CONFIG += staticlib # staticlib or sharedlib
2023-02-24 18:44:29 +08:00
#** 多次切换编译构建模式,建议先清理缓存项目右键->清理
#*[staticlib] 构建静态库.a
#需要修改example.pro请打开后按说明操作
#*[sharedlib] 构建动态库 .dll .so .dylib
#会自动安装到Qt qmlplugin目录中
#无需其它配置即可运行demo以及其它项目中使用
#发布目标平台前必须每个平台都要构建一次
##########################################
RESOURCES += \
res.qrc
# Input
HEADERS += \
2023-02-26 23:47:07 +08:00
Def.h \
FluApp.h \
Fluent.h \
2023-02-24 18:44:29 +08:00
FluentUI.h \
2023-02-26 23:47:07 +08:00
FramelessView.h \
qml_plugin.h \
stdafx.h
2023-02-24 18:44:29 +08:00
SOURCES += \
2023-02-26 23:47:07 +08:00
Def.cpp \
FluApp.cpp \
Fluent.cpp \
2023-02-24 18:44:29 +08:00
FluentUI.cpp \
2023-02-26 23:47:07 +08:00
qml_plugin.cpp \
win32 {
SOURCES += \
FramelessView_win.cpp
} else {
SOURCES += \
FramelessView_unix.cpp
}
2023-02-24 18:44:29 +08:00
DEFINES += VERSION_IN=\\\"1.0.0\\\"
DEFINES += URI_STR=\\\"$$uri\\\"
contains(QMAKE_HOST.os,Windows) {
include(./build_windows.pri)
}else{
include(./build_macos.pri)
}