#load up the headers info
include($$MODULE_BASE_OUTDIR/include/$$TARGET/headers.pri, "", true)
+lctarget = $$lower($$TARGET)
+
+MODULE_VERSION_HEADER = $$find(SYNCQT.HEADER_FILES, (^|/)$${lctarget}version\\.h$)
+count(MODULE_VERSION_HEADER, 1) {
+ MODULE_VERSION_HEADER = $$absolute_path($$MODULE_VERSION_HEADER, $$_PRO_FILE_PWD_)
+
+ HEADERS += $$MODULE_VERSION_HEADER
+}
+
CONFIG += qt_install_headers
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/concurrent/qtconcurrentversion.h
-
PRECOMPILED_HEADER = ../corelib/global/qt_pch.h
SOURCES += \
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/corelib/qtcoreversion.h
-
QMAKE_DOCS = $$PWD/doc/qtcore.qdocconf
QMAKE_DOCS_INDEX = ../../doc
}
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/dbus/qtdbusversion.h
-
QMAKE_DOCS = $$PWD/doc/qtdbus.qdocconf
QMAKE_DOCS_INDEX = ../../doc
load(testcocoon)
}
-HEADERS += $$QT_SOURCE_TREE/src/gui/qtguiversion.h
-
QMAKE_DOCS = $$PWD/doc/qtgui.qdocconf
QMAKE_DOCS_INDEX = ../../doc
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/network/qtnetworkversion.h
-
QMAKE_DOCS = $$PWD/doc/qtnetwork.qdocconf
QMAKE_DOCS_INDEX = ../../doc
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/opengl/qtopenglversion.h
-
contains(QT_CONFIG, opengl):CONFIG += opengl
contains(QT_CONFIG, opengles1):CONFIG += opengles1
contains(QT_CONFIG, opengles2):CONFIG += opengles2
unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
-HEADERS += $$PWD/qtplatformsupportversion.h
-
DEFINES += QT_NO_CAST_FROM_ASCII
PRECOMPILED_HEADER = ../corelib/global/qt_pch.h
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/printsupport/qtprintsupportversion.h
-
QMAKE_DOCS = $$PWD/doc/qtprintsupport.qdocconf
QMAKE_DOCS_INDEX = ../../doc
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/sql/qtsqlversion.h
-
DEFINES += QT_NO_CAST_FROM_ASCII
PRECOMPILED_HEADER = ../corelib/global/qt_pch.h
SQL_P = sql
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/testlib/qttestversion.h
-
QMAKE_TARGET_PRODUCT = QTestLib
QMAKE_TARGET_DESCRIPTION = Qt \
Unit \
unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
-HEADERS += $$QT_SOURCE_TREE/src/widgets/qtwidgetsversion.h
-
QMAKE_DOCS = $$PWD/doc/qtwidgets.qdocconf
QMAKE_DOCS_INDEX = ../../doc
load(qt_module_config)
-HEADERS += $$QT_SOURCE_TREE/src/xml/qtxmlversion.h
-
QMAKE_DOCS = $$PWD/doc/qtxml.qdocconf
QMAKE_DOCS_INDEX = ../../doc