qt5base-lts/src/corelib/global/global.pri

42 lines
1.1 KiB
Plaintext
Raw Normal View History

# Qt kernel library base module
HEADERS += \
global/qglobal.h \
global/qsystemdetection.h \
global/qcompilerdetection.h \
global/qprocessordetection.h \
global/qnamespace.h \
global/qendian.h \
global/qnumeric_p.h \
global/qnumeric.h \
global/qlogging.h \
global/qtypeinfo.h \
global/qsysinfo.h \
global/qisenum.h \
global/qtypetraits.h \
global/qflags.h
SOURCES += \
global/qglobal.cpp \
global/qlibraryinfo.cpp \
global/qmalloc.cpp \
global/qnumeric.cpp \
global/qlogging.cpp
# 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
linux*:!cross_compile:!static:!*-armcc* {
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\')\\\"
}
slog2 {
LIBS_PRIVATE += -lslog2
DEFINES += QT_USE_SLOG2
}