1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/examples/qqtframe/qqtframe.pro

103 lines
2.3 KiB
Prolog
Raw Normal View History

2017-09-05 18:07:05 +08:00
#-------------------------------------------------
#
# Project created by QtCreator 2016-06-17T10:03:52
#
#-------------------------------------------------
2017-09-22 20:18:46 +08:00
QT += core gui network sql xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport serialport
2017-09-17 08:46:57 +08:00
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += __QT5__
2017-09-05 18:07:05 +08:00
TARGET = qqtframe
TEMPLATE = app
2017-09-22 20:18:46 +08:00
macx {
CONFIG += app_bundle
}
2017-09-05 18:07:05 +08:00
QT_KIT = $$(QKIT)
message($${QT_KIT} Defined in qqtframe)
equals(QT_KIT, MIPS32) {
2017-09-17 08:46:57 +08:00
QT += multimedia
DEFINES += __MIPS_LINUX__
} else:equals(QT_KIT, LINUX) {
DEFINES += __LINUX__
} else:equals(QT_KIT, LINUX64) {
DEFINES += __LINUX64__
} else:equals(QT_KIT, WIN) {
DEFINES += __WIN__
} else:equals(QT_KIT, WIN64) {
DEFINES += __WIN64__
} else:equals(QT_KIT, macOS) {
DEFINES += __DARWIN__
2017-10-03 17:07:40 +08:00
} else:equals(QT_KIT, Android) {
DEFINES += __ANDROID__
2017-09-05 18:07:05 +08:00
}
CONFIG(debug, debug|release) {
} else {
2017-09-17 08:46:57 +08:00
DEFINES -= QT_NO_DEBUG_OUTPUT
2017-09-05 18:07:05 +08:00
}
2017-10-03 17:07:40 +08:00
equals(QT_KIT, Android) {
CONFIG += mobility
MOBILITY =
#DISTFILES += \
# android/AndroidManifest.xml
2017-09-05 18:07:05 +08:00
2017-10-03 17:07:40 +08:00
#ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
}
INCLUDEPATH += $$PWD \
$$PWD/../../src \
$$PWD/../../src/core \
$$PWD/../../src/gui \
$$PWD/../../src/multimedia \
$$PWD/../../src/network \
$$PWD/../../src/printsupport \
$$PWD/../../src/sql \
$$PWD/../../src/widgets \
$$PWD/../../src/customplot \
$$PWD/../../src/pluginwatcher \
$$PWD/../../src/dmmu \
$$PWD/../../src/frame
#include(../../src/qqt.pri)
macx {
LIBS += -F/Users/abel/Develop/c0-buildstation/a0-qqtfoundation/MacOS/Release/src/bin
LIBS += -framework QQt
}
equals(QT_KIT, Android) {
LIBS += -L/Users/abel/Develop/c0-buildstation/a0-qqtfoundation/Android-arm/Release/src/bin
LIBS += -lQQt
}
2017-10-12 16:28:07 +08:00
############
##build cache
############
2017-10-03 17:07:40 +08:00
OBJECTS_DIR = obj
MOC_DIR = obj/moc.cpp
UI_DIR = obj/ui.h
RCC_DIR = qrc
DESTDIR = bin
2017-10-12 16:28:07 +08:00
############
##install
############
#CONFIG += can_install
can_install:equals(QT_KIT, MIPS32) {
2017-10-03 17:07:40 +08:00
target.path = /Application
INSTALLS += target
2017-09-22 20:18:46 +08:00
} else: unix {
2017-10-03 17:07:40 +08:00
macx{
2017-10-12 16:28:07 +08:00
target.path = /Applications
2017-10-03 17:07:40 +08:00
INSTALLS += target
}
2017-09-17 08:46:57 +08:00
}
2017-09-05 18:07:05 +08:00
2017-09-17 21:38:49 +08:00
INCLUDEPATH += $$PWD
2017-09-05 18:07:05 +08:00
SOURCES += $$PWD/main.cpp $$PWD/qqtapp.cpp $$PWD/qqtwindow.cpp
HEADERS += $$PWD/qqtapp.h $$PWD/qqtwindow.h
FORMS += $$PWD/qqtwindow.ui