main
朱子楚\zhuzi 2023-03-07 23:56:55 +08:00
parent 7eb5244923
commit ee69c57ac9
2 changed files with 15 additions and 6 deletions

1
.gitignore vendored
View File

@ -43,3 +43,4 @@ target_wrapper.*
CMakeLists.txt.user* CMakeLists.txt.user*
src/build-preset/plugins.qmltypes src/build-preset/plugins.qmltypes
bin

View File

@ -8,9 +8,17 @@ SOURCES += \
RESOURCES += qml.qrc RESOURCES += qml.qrc
qnx: target.path = /tmp/$${TARGET}/bin #qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin #else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target #!isEmpty(target.path): INSTALLS += target
HEADERS += \ # Additional import path used to resolve QML modules in Qt Creator's code model
stdafx.h QML_IMPORT_PATH =
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
CONFIG(debug,debug|release) {
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/debug)
} else {
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/release)
}