2011-04-27 10:05:43 +00:00
|
|
|
# Qt kernel library base module
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
global/qglobal.h \
|
2012-02-03 19:26:24 +00:00
|
|
|
global/qsystemdetection.h \
|
2012-02-04 13:20:32 +00:00
|
|
|
global/qcompilerdetection.h \
|
Add qprocessordetection.h
This detects the target processor based on preprocessor #defines,
setting Q_PROCESSOR_${FAMILY} accordingly. Optional
Q_PROCESSOR_${FAMILY}_${REVISION/VARIANT} #defines are also provided,
usually dependent on how the compiler is invoked.
Currently detected families (and variants) include:
ARM (v5, v6, and v7)
X86 (i386 and x86_64, as X86_32 and X86_64 respectively)
IA-64
MIPS (I, II, III, IV, 32, 64)
Other families that currently are not detected, but Qt has (or had)
support for include:
Alpha
AVR32
Blackfin
PA-RISC
PowerPC (optional 64-bit variant)
S390 (and S390X 64-bit variant)
SH (and SH-4A)
SPARC (SPARC V9)
Detection for these is currently commented out, and can
be easily enabled later.
Change-Id: I571f245c189b9d80c7c3a5369ac595a271f37c8b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-02-05 12:10:55 +00:00
|
|
|
global/qprocessordetection.h \
|
2011-04-27 10:05:43 +00:00
|
|
|
global/qnamespace.h \
|
|
|
|
global/qendian.h \
|
|
|
|
global/qnumeric_p.h \
|
QtDebug: Include file, line, function information
Record the file, line, and function where a qDebug, qWarning, qCritical
or qFatal call happens, and make this information available in a custom
message handler.
The patch uses the C preprocessor to replace qDebug, qWarning, ... with
a line that also records the current file, line, and function. Custom
message handlers can access this information via a new QMessageLogContext
argument.
Change-Id: I0a9b89c1d137e41775932d3b1a35da4ebf12d18d
Reviewed-by: David Faure <faure@kde.org>
2012-01-17 15:20:45 +00:00
|
|
|
global/qnumeric.h \
|
2012-02-24 17:44:17 +00:00
|
|
|
global/qglobalstatic.h \
|
2012-10-15 20:48:07 +00:00
|
|
|
global/qlibraryinfo.h \
|
2012-02-04 13:32:16 +00:00
|
|
|
global/qlogging.h \
|
2012-02-20 08:41:09 +00:00
|
|
|
global/qtypeinfo.h \
|
2012-02-07 02:25:07 +00:00
|
|
|
global/qsysinfo.h \
|
|
|
|
global/qisenum.h \
|
2012-03-28 19:54:15 +00:00
|
|
|
global/qtypetraits.h \
|
|
|
|
global/qflags.h
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
global/qglobal.cpp \
|
2013-01-23 02:26:25 +00:00
|
|
|
global/qglobalstatic.cpp \
|
2011-04-27 10:05:43 +00:00
|
|
|
global/qlibraryinfo.cpp \
|
|
|
|
global/qmalloc.cpp \
|
QtDebug: Include file, line, function information
Record the file, line, and function where a qDebug, qWarning, qCritical
or qFatal call happens, and make this information available in a custom
message handler.
The patch uses the C preprocessor to replace qDebug, qWarning, ... with
a line that also records the current file, line, and function. Custom
message handlers can access this information via a new QMessageLogContext
argument.
Change-Id: I0a9b89c1d137e41775932d3b1a35da4ebf12d18d
Reviewed-by: David Faure <faure@kde.org>
2012-01-17 15:20:45 +00:00
|
|
|
global/qnumeric.cpp \
|
|
|
|
global/qlogging.cpp
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
# qlibraryinfo.cpp includes qconfig.cpp
|
|
|
|
INCLUDEPATH += $$QT_BUILD_TREE/src/corelib/global
|
|
|
|
|
2013-05-28 09:07:13 +00:00
|
|
|
# configure creates these, not syncqt, so we need to manually inject them
|
2013-06-25 08:00:50 +00:00
|
|
|
qconfig_h_files = \
|
2013-10-23 13:24:03 +00:00
|
|
|
$$OUT_PWD/global/qfeatures.h \
|
2013-05-28 09:07:13 +00:00
|
|
|
$$OUT_PWD/global/qconfig.h \
|
|
|
|
$$QT_BUILD_TREE/include/QtCore/QtConfig
|
2013-06-25 08:00:50 +00:00
|
|
|
targ_headers.files += $$qconfig_h_files
|
|
|
|
contains(QMAKE_BUNDLE_DATA, FRAMEWORK_HEADERS): \
|
|
|
|
FRAMEWORK_HEADERS.files += $$qconfig_h_files
|
2013-05-28 09:07:13 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
# Only used on platforms with CONFIG += precompile_header
|
|
|
|
PRECOMPILED_HEADER = global/qt_pch.h
|
|
|
|
|
2012-01-22 15:41:55 +00:00
|
|
|
linux*:!cross_compile:!static:!*-armcc* {
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_LFLAGS += -Wl,-e,qt_core_boilerplate
|
|
|
|
prog=$$quote(if (/program interpreter: (.*)]/) { print $1; })
|
|
|
|
DEFINES += ELF_INTERPRETER=\\\"$$system(readelf -l /bin/ls | perl -n -e \'$$prog\')\\\"
|
|
|
|
}
|
|
|
|
|
2012-09-18 18:15:18 +00:00
|
|
|
slog2 {
|
|
|
|
LIBS_PRIVATE += -lslog2
|
|
|
|
DEFINES += QT_USE_SLOG2
|
|
|
|
}
|