2023-02-24 18:44:29 +08:00
|
|
|
|
QT += quick
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS QT_NO_WARNING_OUTPUT
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
|
main.cpp
|
|
|
|
|
|
|
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
|
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### 如果你正在使用静态库.a 那么你还需要将下面的配置注释取消掉。
|
|
|
|
|
#### 其它项目使用方法也是如此。
|
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
|
# DEFINES += STATICLIB
|
2023-02-24 18:44:29 +08:00
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
|
# LIBNAME = FluentUI
|
2023-02-24 18:44:29 +08:00
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
|
# CONFIG(debug, debug|release) {
|
|
|
|
|
# contains(QMAKE_HOST.os,Windows) {
|
|
|
|
|
# LIBNAME = FluentUId
|
|
|
|
|
# }else{
|
|
|
|
|
# LIBNAME = FluentUI_debug
|
|
|
|
|
# }
|
|
|
|
|
# }
|
2023-02-24 18:44:29 +08:00
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
|
# # Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
|
# QML_IMPORT_PATH = $$OUT_PWD/../bin/
|
2023-02-24 18:44:29 +08:00
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
|
# # Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
|
# QML_DESIGNER_IMPORT_PATH = $$OUT_PWD/../bin/
|
2023-02-24 18:44:29 +08:00
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
|
# INCLUDEPATH += $$OUT_PWD/../bin/FluentUI/
|
|
|
|
|
# DEPENDPATH += $$OUT_PWD/../bin/FluentUI/
|
2023-02-24 18:44:29 +08:00
|
|
|
|
|
2023-02-27 18:46:39 +08:00
|
|
|
|
# LIBS += -L$$OUT_PWD/../bin/FluentUI/ -l$${LIBNAME}
|
2023-02-24 18:44:29 +08:00
|
|
|
|
# PRE_TARGETDEPS += $$OUT_PWD/../bin/FluentUI/lib$${LIBNAME}.a
|
|
|
|
|
|
|
|
|
|
### 注意:静态库 .so .dylib .dll 是自动安装的Qt qml plugin目录中,不需要此步配置
|