forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Friedemann Kleint
parent
8113465f41
commit
fb89bfe949
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user