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-04 13:32:16 +00:00
|
|
|
global/qlogging.h \
|
|
|
|
global/qtypeinfo.h
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
global/qglobal.cpp \
|
|
|
|
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
|
|
|
|
|
|
|
|
# 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\')\\\"
|
|
|
|
}
|
|
|
|
|