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: I8129c3ef3cb58541c95a32d083850d9e7f768927
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Thiago Macieira 2012-08-01 13:19:40 +02:00 committed by Qt by Nokia
parent 262f53210f
commit 672b5b7ab6
719 changed files with 721 additions and 3 deletions

View File

@ -3,3 +3,4 @@ TARGET = tst_qfuture
QT = core concurrent-private testlib concurrent QT = core concurrent-private testlib concurrent
SOURCES = tst_qfuture.cpp SOURCES = tst_qfuture.cpp
DEFINES += QT_STRICT_ITERATORS DEFINES += QT_STRICT_ITERATORS
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qfuturesynchronizer TARGET = tst_qfuturesynchronizer
QT = core testlib concurrent QT = core testlib concurrent
SOURCES = tst_qfuturesynchronizer.cpp SOURCES = tst_qfuturesynchronizer.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qfuturewatcher TARGET = tst_qfuturewatcher
QT = core concurrent-private testlib concurrent QT = core concurrent-private testlib concurrent
SOURCES = tst_qfuturewatcher.cpp SOURCES = tst_qfuturewatcher.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qtconcurrentfilter
QT = core testlib concurrent QT = core testlib concurrent
SOURCES = tst_qtconcurrentfilter.cpp SOURCES = tst_qtconcurrentfilter.cpp
DEFINES += QT_STRICT_ITERATORS DEFINES += QT_STRICT_ITERATORS
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qtconcurrentiteratekernel TARGET = tst_qtconcurrentiteratekernel
QT = core testlib concurrent QT = core testlib concurrent
SOURCES = tst_qtconcurrentiteratekernel.cpp SOURCES = tst_qtconcurrentiteratekernel.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qtconcurrentmap
QT = core testlib concurrent QT = core testlib concurrent
SOURCES = tst_qtconcurrentmap.cpp SOURCES = tst_qtconcurrentmap.cpp
DEFINES += QT_STRICT_ITERATORS DEFINES += QT_STRICT_ITERATORS
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qtconcurrentresultstore
QT = core-private testlib concurrent QT = core-private testlib concurrent
SOURCES = tst_qtconcurrentresultstore.cpp SOURCES = tst_qtconcurrentresultstore.cpp
DEFINES += QT_STRICT_ITERATORS DEFINES += QT_STRICT_ITERATORS
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qtconcurrentrun TARGET = tst_qtconcurrentrun
QT = core testlib concurrent QT = core testlib concurrent
SOURCES = tst_qtconcurrentrun.cpp SOURCES = tst_qtconcurrentrun.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qtconcurrentthreadengine TARGET = tst_qtconcurrentthreadengine
QT = core testlib concurrent QT = core testlib concurrent
SOURCES = tst_qtconcurrentthreadengine.cpp SOURCES = tst_qtconcurrentthreadengine.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qabstractanimation TARGET = tst_qabstractanimation
QT = core testlib QT = core testlib
SOURCES = tst_qabstractanimation.cpp SOURCES = tst_qabstractanimation.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qanimationgroup TARGET = tst_qanimationgroup
QT = core testlib QT = core testlib
SOURCES = tst_qanimationgroup.cpp SOURCES = tst_qanimationgroup.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qparallelanimationgroup TARGET = tst_qparallelanimationgroup
QT = core gui testlib QT = core gui testlib
SOURCES = tst_qparallelanimationgroup.cpp SOURCES = tst_qparallelanimationgroup.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qpauseanimation TARGET = tst_qpauseanimation
QT = core-private gui-private testlib QT = core-private gui-private testlib
SOURCES = tst_qpauseanimation.cpp SOURCES = tst_qpauseanimation.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qpropertyanimation TARGET = tst_qpropertyanimation
QT = core gui widgets testlib QT = core gui widgets testlib
SOURCES = tst_qpropertyanimation.cpp SOURCES = tst_qpropertyanimation.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qsequentialanimationgroup TARGET = tst_qsequentialanimationgroup
QT = core testlib QT = core testlib
SOURCES = tst_qsequentialanimationgroup.cpp SOURCES = tst_qsequentialanimationgroup.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qvariantanimation TARGET = tst_qvariantanimation
QT = core testlib QT = core testlib
SOURCES = tst_qvariantanimation.cpp SOURCES = tst_qvariantanimation.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ CONFIG -= app_bundle debug_and_release_target
CONFIG += console CONFIG += console
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -12,3 +12,4 @@ win32 {
} }
} }
TESTDATA += ../*.txt TESTDATA += ../*.txt
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_utf8
QT = core testlib QT = core testlib
SOURCES += tst_utf8.cpp utf8data.cpp SOURCES += tst_utf8.cpp utf8data.cpp
CONFIG += parallel_test CONFIG += parallel_test
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_q_func_info TARGET = tst_q_func_info
QT = core testlib QT = core testlib
SOURCES = tst_q_func_info.cpp SOURCES = tst_q_func_info.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qflags TARGET = tst_qflags
QT = core testlib QT = core testlib
SOURCES = tst_qflags.cpp SOURCES = tst_qflags.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qgetputenv TARGET = tst_qgetputenv
QT = core testlib QT = core testlib
SOURCES = tst_qgetputenv.cpp SOURCES = tst_qgetputenv.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qglobal TARGET = tst_qglobal
QT = core testlib QT = core testlib
SOURCES = tst_qglobal.cpp SOURCES = tst_qglobal.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -9,3 +9,4 @@ CONFIG -= app_bundle
CONFIG += console CONFIG += console
SOURCES += main.cpp SOURCES += main.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ QT = core testlib
SOURCES = ../tst_qlogging.cpp SOURCES = ../tst_qlogging.cpp
TEST_HELPER_INSTALLS = ../app/app TEST_HELPER_INSTALLS = ../app/app
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qnumeric TARGET = tst_qnumeric
QT = core testlib QT = core testlib
SOURCES = tst_qnumeric.cpp SOURCES = tst_qnumeric.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qrand TARGET = tst_qrand
QT = core testlib QT = core testlib
SOURCES = tst_qrand.cpp SOURCES = tst_qrand.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qtendian TARGET = tst_qtendian
QT = core testlib QT = core testlib
SOURCES = tst_qtendian.cpp SOURCES = tst_qtendian.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ QT = core testlib
SOURCES = tst_largefile.cpp SOURCES = tst_largefile.cpp
wince*: SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp wince*: SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qabstractfileengine
QT = core-private core testlib QT = core-private core testlib
SOURCES = tst_qabstractfileengine.cpp SOURCES = tst_qabstractfileengine.cpp
RESOURCES += qabstractfileengine.qrc RESOURCES += qabstractfileengine.qrc
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qbuffer TARGET = tst_qbuffer
QT = core testlib QT = core testlib
SOURCES = tst_qbuffer.cpp SOURCES = tst_qbuffer.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ QT += testlib
SOURCES = tst_qdatastream.cpp SOURCES = tst_qdatastream.cpp
TESTDATA += datastream.q42 TESTDATA += datastream.q42
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qdataurl TARGET = tst_qdataurl
QT = core core-private testlib QT = core core-private testlib
SOURCES = tst_qdataurl.cpp SOURCES = tst_qdataurl.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qdebug TARGET = tst_qdebug
QT = core testlib QT = core testlib
SOURCES = tst_qdebug.cpp SOURCES = tst_qdebug.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ SOURCES = tst_qdir.cpp
RESOURCES += qdir.qrc RESOURCES += qdir.qrc
TESTDATA += testdir testData searchdir resources entrylist types tst_qdir.cpp TESTDATA += testdir testData searchdir resources entrylist types tst_qdir.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -1,2 +1,3 @@
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ RESOURCES += qdiriterator.qrc
TESTDATA += entrylist TESTDATA += entrylist
wince*mips*|wincewm50smart-msvc200*: DEFINES += WINCE_BROKEN_ITERATE=1 wince*mips*|wincewm50smart-msvc200*: DEFINES += WINCE_BROKEN_ITERATE=1
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -6,3 +6,4 @@ CONFIG += console
# This app is testdata for tst_qfile # This app is testdata for tst_qfile
target.path = $$[QT_INSTALL_TESTS]/tst_qfile/$$TARGET target.path = $$[QT_INSTALL_TESTS]/tst_qfile/$$TARGET
INSTALLS += target INSTALLS += target
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -14,3 +14,4 @@ TESTDATA += ../dosfile.txt ../noendofline.txt ../testfile.txt \
../resources/file1.ext1 ../resources/file1.ext1
win32: LIBS+=-lole32 -luuid win32: LIBS+=-lole32 -luuid
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ RESOURCES += qfileinfo.qrc
TESTDATA += qfileinfo.qrc qfileinfo.pro tst_qfileinfo.cpp resources/file1 resources/file1.ext1 resources/file1.ext1.ext2 TESTDATA += qfileinfo.qrc qfileinfo.pro tst_qfileinfo.cpp resources/file1 resources/file1.ext1 resources/file1.ext1.ext2
win32*:LIBS += -ladvapi32 -lnetapi32 win32*:LIBS += -ladvapi32 -lnetapi32
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ QT = core-private testlib
SOURCES = tst_qfilesystementry.cpp \ SOURCES = tst_qfilesystementry.cpp \
$${QT.core.sources}/io/qfilesystementry.cpp $${QT.core.sources}/io/qfilesystementry.cpp
HEADERS = $${QT.core.sources}/io/qfilesystementry_p.h HEADERS = $${QT.core.sources}/io/qfilesystementry_p.h
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qfilesystemwatcher TARGET = tst_qfilesystemwatcher
QT = core testlib QT = core testlib
SOURCES = tst_qfilesystemwatcher.cpp SOURCES = tst_qfilesystemwatcher.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ SOURCES = tst_qiodevice.cpp
TESTDATA += tst_qiodevice.cpp TESTDATA += tst_qiodevice.cpp
MOC_DIR=tmp MOC_DIR=tmp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ SOURCES += tst_qipaddress.cpp
TARGET = tst_qipaddress TARGET = tst_qipaddress
QT = core core-private testlib QT = core core-private testlib
CONFIG += testcase parallel_test CONFIG += testcase parallel_test
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qnodebug TARGET = tst_qnodebug
QT = core testlib QT = core testlib
SOURCES = tst_qnodebug.cpp SOURCES = tst_qnodebug.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += console
CONFIG -= app_bundle CONFIG -= app_bundle
QT = core QT = core
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -21,3 +21,4 @@ TEST_HELPER_INSTALLS += \
"../testProcessSpacesArgs/one space" \ "../testProcessSpacesArgs/one space" \
"../testProcessSpacesArgs/two space s" \ "../testProcessSpacesArgs/two space s" \
"../test Space In Name/testSpaceInName" "../test Space In Name/testSpaceInName"
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ CONFIG += console
CONFIG -= app_bundle CONFIG -= app_bundle
INSTALLS = INSTALLS =
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ QT += widgets
CONFIG += console CONFIG += console
CONFIG -= app_bundle CONFIG -= app_bundle
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += console
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ CONFIG += console
win32:!win32-g++*:!equals(TEMPLATE_PREFIX, "vc"):QMAKE_CXXFLAGS += /GS- win32:!win32-g++*:!equals(TEMPLATE_PREFIX, "vc"):QMAKE_CXXFLAGS += /GS-
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ SOURCES = main.cpp
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ SOURCES = main.cpp
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ SOURCES = main.cpp
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ win32 {
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -6,3 +6,4 @@ DESTDIR = ./
mac { mac {
CONFIG -= app_bundle CONFIG -= app_bundle
} }
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ SOURCES = main.cpp
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += console
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ SOURCES = main.cpp
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
OBJECTS_DIR = $${OBJECTS_DIR}-nospace OBJECTS_DIR = $${OBJECTS_DIR}-nospace
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ DESTDIR = ./
OBJECTS_DIR = $${OBJECTS_DIR}-onespace OBJECTS_DIR = $${OBJECTS_DIR}-onespace
TARGET = "one space" TARGET = "one space"
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ DESTDIR = ./
OBJECTS_DIR = $${OBJECTS_DIR}-twospaces OBJECTS_DIR = $${OBJECTS_DIR}-twospaces
TARGET = "two space s" TARGET = "two space s"
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ SOURCES = main.cpp
CONFIG += console CONFIG += console
CONFIG -= app_bundle CONFIG -= app_bundle
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -9,3 +9,4 @@ unix {
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
CONFIG += console CONFIG += console
DESTDIR = ./ DESTDIR = ./
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -6,3 +6,4 @@ DESTDIR = "../test Space In Name"
mac { mac {
CONFIG -= app_bundle CONFIG -= app_bundle
} }
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qprocessenvironment TARGET = tst_qprocessenvironment
QT = core testlib QT = core testlib
SOURCES = tst_qprocessenvironment.cpp SOURCES = tst_qprocessenvironment.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -22,3 +22,4 @@ runtime_resource_install.CONFIG = no_check_exist
runtime_resource_install.files = $$OUT_PWD/$${runtime_resource.target} runtime_resource_install.files = $$OUT_PWD/$${runtime_resource.target}
runtime_resource_install.path = $${target.path} runtime_resource_install.path = $${target.path}
INSTALLS += runtime_resource_install INSTALLS += runtime_resource_install
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ SOURCES = tst_qsettings.cpp
RESOURCES += qsettings.qrc RESOURCES += qsettings.qrc
win32-msvc*:LIBS += advapi32.lib win32-msvc*:LIBS += advapi32.lib
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qstandardpaths
QT = core testlib QT = core testlib
SOURCES = tst_qstandardpaths.cpp SOURCES = tst_qstandardpaths.cpp
TESTDATA += tst_qstandardpaths.cpp qstandardpaths.pro TESTDATA += tst_qstandardpaths.cpp qstandardpaths.pro
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qtemporarydir
SOURCES += tst_qtemporarydir.cpp SOURCES += tst_qtemporarydir.cpp
QT = core testlib QT = core testlib
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ TARGET = tst_qtemporaryfile
QT = core testlib QT = core testlib
SOURCES = tst_qtemporaryfile.cpp SOURCES = tst_qtemporaryfile.cpp
TESTDATA += tst_qtemporaryfile.cpp TESTDATA += tst_qtemporaryfile.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ DESTDIR = ./
# This app is testdata for tst_qtextstream # This app is testdata for tst_qtextstream
target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET
INSTALLS += target INSTALLS += target
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ DESTDIR = ./
# This app is testdata for tst_qtextstream # This app is testdata for tst_qtextstream
target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET
INSTALLS += target INSTALLS += target
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ DESTDIR = ./
# This app is testdata for tst_qtextstream # This app is testdata for tst_qtextstream
target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET
INSTALLS += target INSTALLS += target
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -20,3 +20,4 @@ TESTDATA += \
../qtextstream.qrc \ ../qtextstream.qrc \
../tst_qtextstream.cpp \ ../tst_qtextstream.cpp \
../resources ../resources
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qurl TARGET = tst_qurl
QT = core testlib QT = core testlib
SOURCES = tst_qurl.cpp SOURCES = tst_qurl.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ TARGET = tst_qurlinternal
SOURCES += tst_qurlinternal.cpp ../../codecs/utf8/utf8data.cpp SOURCES += tst_qurlinternal.cpp ../../codecs/utf8/utf8data.cpp
QT = core core-private testlib QT = core core-private testlib
CONFIG += parallel_test CONFIG += parallel_test
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qurlquery
CONFIG += parallel_test testcase CONFIG += parallel_test testcase
SOURCES += tst_qurlquery.cpp SOURCES += tst_qurlquery.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\" DEFINES += SRCDIR=\\\"$$PWD/\\\"
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase
TARGET = tst_qwinoverlappedionotifier TARGET = tst_qwinoverlappedionotifier
QT = core-private testlib QT = core-private testlib
SOURCES = tst_qwinoverlappedionotifier.cpp SOURCES = tst_qwinoverlappedionotifier.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ mtdir = ../../../other/modeltest
INCLUDEPATH += $$PWD/$${mtdir} INCLUDEPATH += $$PWD/$${mtdir}
SOURCES = tst_qabstractitemmodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp SOURCES = tst_qabstractitemmodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp
HEADERS = $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h HEADERS = $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qabstractproxymodel TARGET = tst_qabstractproxymodel
QT += testlib QT += testlib
SOURCES += tst_qabstractproxymodel.cpp SOURCES += tst_qabstractproxymodel.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ INCLUDEPATH += $$PWD/$${mtdir}
QT += testlib QT += testlib
SOURCES += tst_qidentityproxymodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp SOURCES += tst_qidentityproxymodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp
HEADERS += $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h HEADERS += $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase
TARGET = tst_qitemmodel TARGET = tst_qitemmodel
QT += widgets sql testlib QT += widgets sql testlib
SOURCES = tst_qitemmodel.cpp SOURCES = tst_qitemmodel.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qitemselectionmodel TARGET = tst_qitemselectionmodel
QT += widgets testlib QT += widgets testlib
SOURCES += tst_qitemselectionmodel.cpp SOURCES += tst_qitemselectionmodel.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -8,3 +8,4 @@ mtdir = ../../../other/modeltest
INCLUDEPATH += $$PWD/$${mtdir} INCLUDEPATH += $$PWD/$${mtdir}
SOURCES += tst_qsortfilterproxymodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp SOURCES += tst_qsortfilterproxymodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp
HEADERS += $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h HEADERS += $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ TARGET = tst_qstringlistmodel
QT = core testlib QT = core testlib
HEADERS += qmodellistener.h HEADERS += qmodellistener.h
SOURCES += tst_qstringlistmodel.cpp SOURCES += tst_qstringlistmodel.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -7,3 +7,4 @@ CONFIG += parallel_test
TESTDATA += test.json test.bjson test3.json test2.json TESTDATA += test.json test.bjson test3.json test2.json
SOURCES += tst_qtjson.cpp SOURCES += tst_qtjson.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qcoreapplication TARGET = tst_qcoreapplication
QT = core testlib core-private QT = core testlib core-private
SOURCES = tst_qcoreapplication.cpp SOURCES = tst_qcoreapplication.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase
TARGET = tst_qeventdispatcher TARGET = tst_qeventdispatcher
QT = core testlib QT = core testlib
SOURCES += tst_qeventdispatcher.cpp SOURCES += tst_qeventdispatcher.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -5,3 +5,4 @@ QT = core network testlib core-private
SOURCES = tst_qeventloop.cpp SOURCES = tst_qeventloop.cpp
win32:!wince*:LIBS += -luser32 win32:!wince*:LIBS += -luser32
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
TARGET = tst_qmath TARGET = tst_qmath
QT = core testlib QT = core testlib
SOURCES = tst_qmath.cpp SOURCES = tst_qmath.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -4,3 +4,4 @@ TARGET = tst_qmetamethod
QT = core testlib QT = core testlib
SOURCES = tst_qmetamethod.cpp SOURCES = tst_qmetamethod.cpp
macx:CONFIG -= app_bundle macx:CONFIG -= app_bundle
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qmetaobject TARGET = tst_qmetaobject
QT = core-private gui testlib QT = core-private gui testlib
SOURCES = tst_qmetaobject.cpp SOURCES = tst_qmetaobject.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ TARGET = tst_qmetaobjectbuilder
QT = core-private gui-private testlib QT = core-private gui-private testlib
SOURCES = tst_qmetaobjectbuilder.cpp SOURCES = tst_qmetaobjectbuilder.cpp
macx:CONFIG -= app_bundle macx:CONFIG -= app_bundle
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qmetaproperty TARGET = tst_qmetaproperty
QT = core gui testlib QT = core gui testlib
SOURCES = tst_qmetaproperty.cpp SOURCES = tst_qmetaproperty.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -2,4 +2,5 @@ CONFIG += testcase parallel_test
TARGET = tst_qmetatype TARGET = tst_qmetatype
QT = core testlib QT = core testlib
SOURCES = tst_qmetatype.cpp SOURCES = tst_qmetatype.cpp
TESTDATA=./typeFlags.bin TESTDATA=./typeFlags.bin
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -3,3 +3,4 @@ CONFIG += parallel_test
TARGET = tst_qmimedata TARGET = tst_qmimedata
QT += testlib QT += testlib
SOURCES = tst_qmimedata.cpp SOURCES = tst_qmimedata.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -12,3 +12,4 @@ SOURCES += signalbug.cpp
# This app is testdata for tst_qobject # This app is testdata for tst_qobject
target.path = $$[QT_INSTALL_TESTS]/tst_qobject/$$TARGET target.path = $$[QT_INSTALL_TESTS]/tst_qobject/$$TARGET
INSTALLS += target INSTALLS += target
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

Some files were not shown because too many files have changed in this diff Show More