diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2014-02-03 21:19:48 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-28 03:17:11 +0100 |
commit | 13455344d7e55118733dfca6abba8662a334eba6 (patch) | |
tree | 432725bc0d781dc4be0296b3386bc096e9175321 /qtbase.pro | |
parent | 46feffea1b08767ab8753843beb2d0f93e4a637f (diff) | |
download | qtbase-13455344d7e55118733dfca6abba8662a334eba6.tar.gz |
move generation of qconfig.h forwarding headers to qtbase.pro
less platform-specific code. the qfeatures.h generation is already here.
Change-Id: Ied69fb431eed5816fbff63b33be431ee913c2bc8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qtbase.pro')
-rw-r--r-- | qtbase.pro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qtbase.pro b/qtbase.pro index 1cd82bbc84..ed6fc394cb 100644 --- a/qtbase.pro +++ b/qtbase.pro @@ -177,6 +177,14 @@ FEATURES_PRI = \ "QT_DISABLED_FEATURES = \$\$unique(QT_DISABLED_FEATURES)" write_file($$OUT_PWD/mkspecs/qfeatures.pri, FEATURES_PRI)|error("Aborting.") +# Create forwarding headers for qconfig.h +FWD_QCONFIG_H = \ + '$${LITERAL_HASH}include "../../src/corelib/global/qconfig.h"' +write_file($$OUT_PWD/include/QtCore/qconfig.h, FWD_QCONFIG_H)|error("Aborting.") +FWD_QTCONFIG = \ + '$${LITERAL_HASH}include "qconfig.h"' +write_file($$OUT_PWD/include/QtCore/QtConfig, FWD_QTCONFIG)|error("Aborting.") + #mkspecs mkspecs.path = $$[QT_HOST_DATA]/mkspecs mkspecs.files = \ |