2023-03-25 22:46:15 +08:00
|
|
|
QT += qml quick svg
|
2023-03-31 11:58:15 +08:00
|
|
|
CONFIG += plugin c++17
|
2023-02-24 18:44:29 +08:00
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = FluentUI
|
|
|
|
TARGET = $$qtLibraryTarget($$TARGET)
|
|
|
|
uri = FluentUI
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
CONFIG += sharedlib # staticlib or sharedlib
|
2023-02-24 18:44:29 +08:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
res.qrc
|
|
|
|
|
|
|
|
HEADERS += \
|
2023-02-26 23:47:07 +08:00
|
|
|
Def.h \
|
|
|
|
FluApp.h \
|
2023-03-06 12:09:06 +08:00
|
|
|
FluColorSet.h \
|
|
|
|
FluColors.h \
|
2023-03-13 21:18:51 +08:00
|
|
|
FluRegister.h \
|
2023-03-06 14:22:13 +08:00
|
|
|
FluTheme.h \
|
2023-02-26 23:47:07 +08:00
|
|
|
Fluent.h \
|
2023-02-24 18:44:29 +08:00
|
|
|
FluentUI.h \
|
2023-04-11 23:12:31 +08:00
|
|
|
NativeEventFilter.h \
|
2023-02-27 18:46:39 +08:00
|
|
|
WindowHelper.h \
|
2023-02-26 23:47:07 +08:00
|
|
|
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 \
|
2023-03-06 12:09:06 +08:00
|
|
|
FluColorSet.cpp \
|
|
|
|
FluColors.cpp \
|
2023-03-13 21:18:51 +08:00
|
|
|
FluRegister.cpp \
|
2023-03-06 14:22:13 +08:00
|
|
|
FluTheme.cpp \
|
2023-02-26 23:47:07 +08:00
|
|
|
Fluent.cpp \
|
2023-02-24 18:44:29 +08:00
|
|
|
FluentUI.cpp \
|
2023-04-11 23:12:31 +08:00
|
|
|
NativeEventFilter.cpp \
|
2023-02-27 18:46:39 +08:00
|
|
|
WindowHelper.cpp \
|
2023-02-26 23:47:07 +08:00
|
|
|
qml_plugin.cpp \
|
|
|
|
|
|
|
|
win32 {
|
2023-03-28 13:01:28 +08:00
|
|
|
LIBS += -ldwmapi -luser32
|
2023-02-26 23:47:07 +08:00
|
|
|
}
|
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)
|
|
|
|
}
|