FluentUI/example/example.pro

50 lines
1.2 KiB
Prolog
Raw Normal View History

2023-03-31 11:58:15 +08:00
QT += quick quickcontrols2 concurrent network multimedia
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 += \
ChatController.h
2023-02-24 18:44:29 +08:00
SOURCES += \
2023-03-17 14:05:27 +08:00
ChatController.cpp \
2023-02-24 18:44:29 +08:00
main.cpp
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 {
contains(QT_ARCH, i386) {
2023-03-17 23:33:02 +08:00
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x86/*.dll) $$DESTDIR
2023-04-03 21:13:50 +08:00
contains(QMAKE_CC, cl) {
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
} else {
QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL
}
2023-03-17 22:59:21 +08:00
} else {
2023-03-17 23:33:02 +08:00
COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x64/*.dll) $$DESTDIR
2023-04-03 21:13:50 +08:00
contains(QMAKE_CC, cl) {
QMAKE_PRE_LINK += $$QMAKE_COPY $$replace(COPYDLL, /, \\)
} else {
QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL
}
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
}