2011-04-27 10:05:43 +00:00
|
|
|
TARGET = QtCore
|
|
|
|
QT =
|
2012-04-10 18:04:23 +00:00
|
|
|
CONFIG += exceptions
|
2011-04-01 10:47:28 +00:00
|
|
|
|
|
|
|
MODULE = core # not corelib, as per project file
|
2012-06-04 15:12:24 +00:00
|
|
|
MODULE_CONFIG = moc resources
|
2012-11-01 13:23:41 +00:00
|
|
|
!isEmpty(QT_NAMESPACE): MODULE_DEFINES = QT_NAMESPACE=$$QT_NAMESPACE
|
2011-04-01 10:47:28 +00:00
|
|
|
|
2012-12-05 19:54:09 +00:00
|
|
|
CONFIG += $$MODULE_CONFIG
|
2012-04-11 15:28:49 +00:00
|
|
|
DEFINES += QT_NO_USING_NAMESPACE
|
2011-04-27 10:05:43 +00:00
|
|
|
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x67000000
|
|
|
|
irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
|
|
|
|
|
2012-09-05 14:10:47 +00:00
|
|
|
# otherwise mingw headers do not declare common functions like putenv
|
|
|
|
win32-g++*:QMAKE_CXXFLAGS_CXX11 = -std=gnu++0x
|
|
|
|
|
2012-05-07 11:54:52 +00:00
|
|
|
QMAKE_DOCS = $$PWD/doc/qtcore.qdocconf
|
2012-10-08 15:19:14 +00:00
|
|
|
|
|
|
|
load(qt_module)
|
2012-05-07 11:54:52 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
include(animation/animation.pri)
|
|
|
|
include(arch/arch.pri)
|
|
|
|
include(global/global.pri)
|
|
|
|
include(thread/thread.pri)
|
|
|
|
include(tools/tools.pri)
|
|
|
|
include(io/io.pri)
|
2011-12-10 01:22:06 +00:00
|
|
|
include(itemmodels/itemmodels.pri)
|
2012-01-18 09:12:50 +00:00
|
|
|
include(json/json.pri)
|
2011-04-27 10:05:43 +00:00
|
|
|
include(plugin/plugin.pri)
|
|
|
|
include(kernel/kernel.pri)
|
|
|
|
include(codecs/codecs.pri)
|
|
|
|
include(statemachine/statemachine.pri)
|
2012-02-18 15:00:09 +00:00
|
|
|
include(mimetypes/mimetypes.pri)
|
2011-04-27 10:05:43 +00:00
|
|
|
include(xml/xml.pri)
|
|
|
|
|
2011-10-21 07:55:40 +00:00
|
|
|
mac|darwin {
|
2012-03-30 08:03:00 +00:00
|
|
|
!ios {
|
2011-10-21 07:55:40 +00:00
|
|
|
LIBS_PRIVATE += -framework ApplicationServices
|
2011-04-27 10:05:43 +00:00
|
|
|
LIBS_PRIVATE += -framework CoreServices
|
2012-01-30 13:14:04 +00:00
|
|
|
LIBS_PRIVATE += -framework Foundation
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
2011-10-21 07:55:40 +00:00
|
|
|
LIBS_PRIVATE += -framework CoreFoundation
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
win32:DEFINES-=QT_NO_CAST_TO_ASCII
|
2012-11-01 13:23:41 +00:00
|
|
|
DEFINES += $$MODULE_DEFINES
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QMAKE_LIBS += $$QMAKE_LIBS_CORE
|
|
|
|
|
|
|
|
QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtCore.dynlist
|
|
|
|
|
|
|
|
contains(DEFINES,QT_EVAL):include(eval.pri)
|
2012-04-10 18:04:23 +00:00
|
|
|
|
2013-01-08 14:50:54 +00:00
|
|
|
HOST_BINS = $$[QT_HOST_BINS/raw]
|
2012-12-05 19:54:09 +00:00
|
|
|
host_bins.name = host_bins
|
|
|
|
host_bins.variable = HOST_BINS
|
2012-04-10 18:04:23 +00:00
|
|
|
|
2013-02-04 11:13:55 +00:00
|
|
|
qt_conf.name = qt_config
|
|
|
|
qt_conf.variable = QT_CONFIG
|
|
|
|
|
|
|
|
QMAKE_PKGCONFIG_VARIABLES += host_bins qt_conf
|
2012-06-29 06:32:01 +00:00
|
|
|
|
|
|
|
ctest_macros_file.input = $$PWD/Qt5CTestMacros.cmake
|
|
|
|
ctest_macros_file.output = $$DESTDIR/cmake/Qt5Core/Qt5CTestMacros.cmake
|
2012-07-03 20:29:45 +00:00
|
|
|
ctest_macros_file.CONFIG = verbatim
|
2012-06-29 06:32:01 +00:00
|
|
|
|
2013-01-11 13:53:25 +00:00
|
|
|
cmake_umbrella_config_file.input = $$PWD/Qt5Config.cmake.in
|
|
|
|
cmake_umbrella_config_file.output = $$DESTDIR/cmake/Qt5/Qt5Config.cmake
|
|
|
|
|
|
|
|
cmake_qt5_umbrella_module_files.files = $$cmake_umbrella_config_file.output
|
|
|
|
cmake_qt5_umbrella_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5
|
|
|
|
|
|
|
|
QMAKE_SUBSTITUTES += ctest_macros_file cmake_umbrella_config_file
|
2012-06-29 06:32:01 +00:00
|
|
|
|
|
|
|
ctest_qt5_module_files.files += $$ctest_macros_file.output
|
|
|
|
|
|
|
|
ctest_qt5_module_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5Core
|
|
|
|
|
2013-01-11 13:53:25 +00:00
|
|
|
INSTALLS += ctest_qt5_module_files cmake_qt5_umbrella_module_files
|