mirror of https://github.com/b4tman/qtftp.git
Set the Qt API level to compatibility mode in all tests.
Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: I17b02c252bea56c265d6e80359628fa02dba3525 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
parent
496180637b
commit
1cc17e33c5
|
@ -14,3 +14,4 @@ load(qt_module_config)
|
|||
# Input
|
||||
HEADERS += qftp.h qurlinfo.h
|
||||
SOURCES += qftp.cpp qurlinfo.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
QT = core testlib ftp
|
||||
include($${QT.core.sources}/../../tests/auto/other/headersclean/headersclean.pri)
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
|
|
@ -15,3 +15,4 @@ wince*: {
|
|||
}
|
||||
|
||||
CONFIG+=insignificant_test # uses live qt-test-server, inherently unstable
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
|
Loading…
Reference in New Issue