mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
77 lines
2.1 KiB
INI
77 lines
2.1 KiB
INI
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2018-07-06T22:57:33
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT += core gui xml network qml
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
TARGET = QtSwissArmyKnife
|
|
|
|
TEMPLATE = app
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
# any feature of Qt which has been marked as deprecated (the exact warnings
|
|
# depend on your compiler). Please consult the documentation of the
|
|
# deprecated API in order to know how to port your code away from it.
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
# In order to do so, unTabPage the following line.
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
CONFIG += c++11
|
|
|
|
# 子项目
|
|
include(SAKSetup.pri)
|
|
include(SAKCore.pri)
|
|
include(SAKQmlUi.pri)
|
|
include(SAKWidgetsUi.pri)
|
|
|
|
exists(private/SAKPrivate.pri){
|
|
include(private/SAKPrivate.pri)
|
|
}
|
|
|
|
#--------------------------------------------------------------------------------------------
|
|
#编译目录配置
|
|
UI_DIR = $$OUT_PWD/ui
|
|
MOC_DIR = $$OUT_PWD/moc
|
|
RCC_DIR = $$OUT_PWD/res
|
|
OBJECTS_DIR = $$OUT_PWD/obj
|
|
|
|
#--------------------------------------------------------------------------------------------
|
|
#Windows配置
|
|
win32 {
|
|
RC_ICONS = Windows.ico
|
|
msvc:{
|
|
QMAKE_CXXFLAGS += -execution-charset:utf-8
|
|
}
|
|
}
|
|
|
|
#--------------------------------------------------------------------------------------------
|
|
#国际化文件
|
|
TRANSLATIONS += \
|
|
Translations/sak/SAK_en.ts \
|
|
Translations/sak/SAK_zh_CN.ts \
|
|
Translations/sak/SAK_zh_TW.ts
|
|
|
|
RESOURCES += \
|
|
SAKResources.qrc
|
|
|
|
DISTFILES += \
|
|
android/AndroidManifest.xml \
|
|
android/build.gradle \
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
android/gradlew \
|
|
android/gradlew.bat \
|
|
android/res/values/libs.xml
|
|
|
|
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
|
|
ANDROID_PACKAGE_SOURCE_DIR = \
|
|
$$PWD/android
|
|
}
|