mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
|
#-------------------------------------------------
|
||
|
#install app
|
||
|
#-------------------------------------------------
|
||
|
#CONFIG += can_install
|
||
|
can_install:equals(QKIT_PRIVATE, EMBEDDED) {
|
||
|
target.path = /Application
|
||
|
INSTALLS += target
|
||
|
} else: unix {
|
||
|
equals(QKIT_PRIVATE, macOS) {
|
||
|
target.path = /Applications
|
||
|
INSTALLS += target
|
||
|
}
|
||
|
}
|
||
|
|
||
|
############
|
||
|
##config defination
|
||
|
############
|
||
|
equals(QKIT_PRIVATE, macOS) {
|
||
|
CONFIG += app_bundle
|
||
|
}
|
||
|
|
||
|
contains(QKIT_PRIVATE, ANDROID|ANDROIDX86) {
|
||
|
CONFIG += mobility
|
||
|
MOBILITY =
|
||
|
DISTFILES += \
|
||
|
android/AndroidManifest.xml
|
||
|
|
||
|
ANDROID_PACKAGE_SOURCE_DIR = android
|
||
|
}
|
||
|
|
||
|
################################################################
|
||
|
##build cache
|
||
|
################################################################
|
||
|
OBJECTS_DIR = obj
|
||
|
MOC_DIR = obj/moc.cpp
|
||
|
UI_DIR = obj/ui.h
|
||
|
RCC_DIR = qrc
|
||
|
DESTDIR = bin
|
||
|
|
||
|
#-------------------------------------------------
|
||
|
##project environ
|
||
|
#-------------------------------------------------
|
||
|
#default
|
||
|
message ($${TARGET} config $${CONFIG})
|
||
|
message ($${TARGET} define $${DEFINES})
|
||
|
|