FluentUI/example/example.pro

60 lines
1.5 KiB
Prolog
Raw Normal View History

2023-04-19 23:04:56 +08:00
QT += quick concurrent network multimedia
2023-03-31 11:58:15 +08:00
CONFIG += c++17
2023-02-24 18:44:29 +08:00
DEFINES += QT_DEPRECATED_WARNINGS QT_NO_WARNING_OUTPUT
2023-03-25 22:46:15 +08:00
HEADERS += \
2023-04-22 16:02:52 +08:00
src/lang/En.h \
src/lang/Lang.h \
src/lang/Zh.h \
src/stdafx.h \
src/controller/ChatController.h \
src/AppInfo.h \
src/tool/IPC.h
2023-03-25 22:46:15 +08:00
2023-02-24 18:44:29 +08:00
SOURCES += \
2023-04-22 16:02:52 +08:00
src/controller/ChatController.cpp \
src/AppInfo.cpp \
src/lang/En.cpp \
src/lang/Lang.cpp \
src/lang/Zh.cpp \
src/main.cpp \
src/tool/IPC.cpp
2023-02-24 18:44:29 +08:00
RESOURCES += qml.qrc
2023-03-25 20:45:33 +08:00
2023-03-15 20:40:09 +08:00
RC_ICONS = favicon.ico
2023-03-25 20:45:33 +08:00
2023-03-07 23:56:55 +08:00
QML_IMPORT_PATH =
QML_DESIGNER_IMPORT_PATH =
2023-03-25 20:45:33 +08:00
2023-03-07 23:56:55 +08:00
CONFIG(debug,debug|release) {
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/debug)
} else {
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/release)
}
2023-03-17 14:05:27 +08:00
2023-03-17 22:59:21 +08:00
win32 {
2023-04-06 19:55:53 +08:00
contains(QMAKE_CC, cl) {
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/msvc/*.dll) $$DESTDIR
2023-04-04 03:15:10 +08:00
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, $$QMAKE_DIR_SEP)
2023-03-17 22:59:21 +08:00
} else {
2023-04-06 19:55:53 +08:00
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/mingw/*.dll) $$DESTDIR
2023-04-04 03:15:10 +08:00
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, $$QMAKE_DIR_SEP)
2023-03-17 22:59:21 +08:00
}
2023-04-06 19:55:53 +08:00
2023-03-17 22:59:21 +08:00
}
2023-03-25 22:46:15 +08:00
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
mac: {
QMAKE_INFO_PLIST = Info.plist
}
2023-04-22 19:25:10 +08:00
#### 如果你正在使用静态库,请将将下面的配置注释取消掉
#DEFINES += STATICLIB
#INCLUDEPATH += $$OUT_PWD/../bin/FluentUI/
#LIBS += -L$$OUT_PWD/../bin/FluentUI/ -lFluentUI