summaryrefslogtreecommitdiffstats
path: root/sync.profile
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-07-20 12:44:16 +0200
committerLars Knoll <lars.knoll@qt.io>2016-08-19 04:27:06 +0000
commit48b4e0bf6f1cc4ce4831c2212d57f00fe792468f (patch)
tree6a9bd7ef1de478683e098561d1189e81b1894004 /sync.profile
parentde1da50557a8a641f0620b1e4c490fc1f36b70c9 (diff)
Improve library version handling
Output the version as a define into the private config header as a define using a hex number. Like that we can easily do version checks on libraries using the QT_LIBRARY_VERSION(lib) and QT_VERSION_CHECK() macros. Change-Id: I6dc4ac6550886ca95c5542b6e75cd933ed079d76 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'sync.profile')
-rw-r--r--sync.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync.profile b/sync.profile
index 6e73a8ef98..0860c7692a 100644
--- a/sync.profile
+++ b/sync.profile
@@ -65,7 +65,7 @@ my @zlib_headers = ( "zconf.h", "zlib.h" );
@ignore_headers = ( @internal_zlib_headers );
@ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h", @zlib_headers, @angle_headers);
@ignore_for_qt_begin_namespace_check = ( "qt_windows.h", @zlib_headers, @angle_headers);
-%inject_headers = ( "$basedir/src/corelib/global" => [ "qconfig.h", "qfeatures.h" ] );
+%inject_headers = ( "$basedir/src/corelib/global" => [ "qconfig.h", "qconfig_p.h", "qfeatures.h" ] );
# Module dependencies.
# Every module that is required to build this module should have one entry.
# Each of the module version specifiers can take one of the following values: