diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-06-06 11:46:36 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-06-07 10:45:03 +0200 |
commit | fb89bfe949c3d8767d2468e1bcbcb48b28e54237 (patch) | |
tree | b5c2eb54e735b42eb4d55f527c19eb2f3577a773 /qtcreator.pri | |
parent | 8113465f41f4751f7f7b11a9ed281696373f27f4 (diff) | |
download | qt-creator-fb89bfe949c3d8767d2468e1bcbcb48b28e54237.tar.gz |
Request Qt pre-5.0 API for Qt 5 builds
Qt Creator currently must compile with both Qt 4 and Qt 5, so we can't
change the code to call the non-deprecated functions that have been
recently deprecated in Qt 5, unless those functions already existed.
This change asks Qt 5 to enable the use of pre-5.0 API without warnings.
Change-Id: Ic165336f40d15fe5793d30bb9262986f738c984e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'qtcreator.pri')
-rw-r--r-- | qtcreator.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtcreator.pri b/qtcreator.pri index 79aa849a7a..9c8dbd5921 100644 --- a/qtcreator.pri +++ b/qtcreator.pri @@ -157,4 +157,5 @@ win32-msvc* { qt:greaterThan(QT_MAJOR_VERSION, 4) { contains(QT, core): QT += concurrent contains(QT, gui): QT += widgets + DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040900 } |