From 48b4e0bf6f1cc4ce4831c2212d57f00fe792468f Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 20 Jul 2016 12:44:16 +0200 Subject: 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 Reviewed-by: Oswald Buddenhagen --- qtbase.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'qtbase.pro') diff --git a/qtbase.pro b/qtbase.pro index 481374b0da..fce2c9fa6c 100644 --- a/qtbase.pro +++ b/qtbase.pro @@ -31,6 +31,7 @@ QMAKE_DISTCLEAN += \ mkspecs/qhost.pri \ mkspecs/qmodule.pri \ src/corelib/global/qconfig.h \ + src/corelib/global/qconfig_p.h \ src/corelib/global/qconfig.cpp \ bin/qt.conf -- cgit v1.2.3