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:
parent
262f53210f
commit
672b5b7ab6
@ -3,3 +3,4 @@ TARGET = tst_qfuture
|
||||
QT = core concurrent-private testlib concurrent
|
||||
SOURCES = tst_qfuture.cpp
|
||||
DEFINES += QT_STRICT_ITERATORS
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qfuturesynchronizer
|
||||
QT = core testlib concurrent
|
||||
SOURCES = tst_qfuturesynchronizer.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qfuturewatcher
|
||||
QT = core concurrent-private testlib concurrent
|
||||
SOURCES = tst_qfuturewatcher.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qtconcurrentfilter
|
||||
QT = core testlib concurrent
|
||||
SOURCES = tst_qtconcurrentfilter.cpp
|
||||
DEFINES += QT_STRICT_ITERATORS
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qtconcurrentiteratekernel
|
||||
QT = core testlib concurrent
|
||||
SOURCES = tst_qtconcurrentiteratekernel.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qtconcurrentmap
|
||||
QT = core testlib concurrent
|
||||
SOURCES = tst_qtconcurrentmap.cpp
|
||||
DEFINES += QT_STRICT_ITERATORS
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qtconcurrentresultstore
|
||||
QT = core-private testlib concurrent
|
||||
SOURCES = tst_qtconcurrentresultstore.cpp
|
||||
DEFINES += QT_STRICT_ITERATORS
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qtconcurrentrun
|
||||
QT = core testlib concurrent
|
||||
SOURCES = tst_qtconcurrentrun.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qtconcurrentthreadengine
|
||||
QT = core testlib concurrent
|
||||
SOURCES = tst_qtconcurrentthreadengine.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qabstractanimation
|
||||
QT = core testlib
|
||||
SOURCES = tst_qabstractanimation.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qanimationgroup
|
||||
QT = core testlib
|
||||
SOURCES = tst_qanimationgroup.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qparallelanimationgroup
|
||||
QT = core gui testlib
|
||||
SOURCES = tst_qparallelanimationgroup.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qpauseanimation
|
||||
QT = core-private gui-private testlib
|
||||
SOURCES = tst_qpauseanimation.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qpropertyanimation
|
||||
QT = core gui widgets testlib
|
||||
SOURCES = tst_qpropertyanimation.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qsequentialanimationgroup
|
||||
QT = core testlib
|
||||
SOURCES = tst_qsequentialanimationgroup.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qvariantanimation
|
||||
QT = core testlib
|
||||
SOURCES = tst_qvariantanimation.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ CONFIG -= app_bundle debug_and_release_target
|
||||
CONFIG += console
|
||||
|
||||
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -12,3 +12,4 @@ win32 {
|
||||
}
|
||||
}
|
||||
TESTDATA += ../*.txt
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_utf8
|
||||
QT = core testlib
|
||||
SOURCES += tst_utf8.cpp utf8data.cpp
|
||||
CONFIG += parallel_test
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_q_func_info
|
||||
QT = core testlib
|
||||
SOURCES = tst_q_func_info.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qflags
|
||||
QT = core testlib
|
||||
SOURCES = tst_qflags.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qgetputenv
|
||||
QT = core testlib
|
||||
SOURCES = tst_qgetputenv.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qglobal
|
||||
QT = core testlib
|
||||
SOURCES = tst_qglobal.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -9,3 +9,4 @@ CONFIG -= app_bundle
|
||||
CONFIG += console
|
||||
|
||||
SOURCES += main.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ QT = core testlib
|
||||
SOURCES = ../tst_qlogging.cpp
|
||||
|
||||
TEST_HELPER_INSTALLS = ../app/app
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qnumeric
|
||||
QT = core testlib
|
||||
SOURCES = tst_qnumeric.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qrand
|
||||
QT = core testlib
|
||||
SOURCES = tst_qrand.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qtendian
|
||||
QT = core testlib
|
||||
SOURCES = tst_qtendian.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ QT = core testlib
|
||||
SOURCES = tst_largefile.cpp
|
||||
|
||||
wince*: SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qabstractfileengine
|
||||
QT = core-private core testlib
|
||||
SOURCES = tst_qabstractfileengine.cpp
|
||||
RESOURCES += qabstractfileengine.qrc
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qbuffer
|
||||
QT = core testlib
|
||||
SOURCES = tst_qbuffer.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ QT += testlib
|
||||
SOURCES = tst_qdatastream.cpp
|
||||
|
||||
TESTDATA += datastream.q42
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qdataurl
|
||||
QT = core core-private testlib
|
||||
SOURCES = tst_qdataurl.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qdebug
|
||||
QT = core testlib
|
||||
SOURCES = tst_qdebug.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ SOURCES = tst_qdir.cpp
|
||||
RESOURCES += qdir.qrc
|
||||
|
||||
TESTDATA += testdir testData searchdir resources entrylist types tst_qdir.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -1,2 +1,3 @@
|
||||
|
||||
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ RESOURCES += qdiriterator.qrc
|
||||
TESTDATA += entrylist
|
||||
|
||||
wince*mips*|wincewm50smart-msvc200*: DEFINES += WINCE_BROKEN_ITERATE=1
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -6,3 +6,4 @@ CONFIG += console
|
||||
# This app is testdata for tst_qfile
|
||||
target.path = $$[QT_INSTALL_TESTS]/tst_qfile/$$TARGET
|
||||
INSTALLS += target
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -14,3 +14,4 @@ TESTDATA += ../dosfile.txt ../noendofline.txt ../testfile.txt \
|
||||
../resources/file1.ext1
|
||||
|
||||
win32: LIBS+=-lole32 -luuid
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ RESOURCES += qfileinfo.qrc
|
||||
TESTDATA += qfileinfo.qrc qfileinfo.pro tst_qfileinfo.cpp resources/file1 resources/file1.ext1 resources/file1.ext1.ext2
|
||||
|
||||
win32*:LIBS += -ladvapi32 -lnetapi32
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ QT = core-private testlib
|
||||
SOURCES = tst_qfilesystementry.cpp \
|
||||
$${QT.core.sources}/io/qfilesystementry.cpp
|
||||
HEADERS = $${QT.core.sources}/io/qfilesystementry_p.h
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qfilesystemwatcher
|
||||
QT = core testlib
|
||||
SOURCES = tst_qfilesystemwatcher.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ SOURCES = tst_qiodevice.cpp
|
||||
|
||||
TESTDATA += tst_qiodevice.cpp
|
||||
MOC_DIR=tmp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ SOURCES += tst_qipaddress.cpp
|
||||
TARGET = tst_qipaddress
|
||||
QT = core core-private testlib
|
||||
CONFIG += testcase parallel_test
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qnodebug
|
||||
QT = core testlib
|
||||
SOURCES = tst_qnodebug.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
QT = core
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -21,3 +21,4 @@ TEST_HELPER_INSTALLS += \
|
||||
"../testProcessSpacesArgs/one space" \
|
||||
"../testProcessSpacesArgs/two space s" \
|
||||
"../test Space In Name/testSpaceInName"
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
INSTALLS =
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ QT += widgets
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += console
|
||||
CONFIG -= qt app_bundle
|
||||
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ CONFIG += console
|
||||
|
||||
win32:!win32-g++*:!equals(TEMPLATE_PREFIX, "vc"):QMAKE_CXXFLAGS += /GS-
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ win32 {
|
||||
|
||||
CONFIG -= qt app_bundle
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -6,3 +6,4 @@ DESTDIR = ./
|
||||
mac {
|
||||
CONFIG -= app_bundle
|
||||
}
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += console
|
||||
CONFIG -= qt app_bundle
|
||||
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ SOURCES = main.cpp
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
DESTDIR = ./
|
||||
OBJECTS_DIR = $${OBJECTS_DIR}-nospace
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ DESTDIR = ./
|
||||
OBJECTS_DIR = $${OBJECTS_DIR}-onespace
|
||||
|
||||
TARGET = "one space"
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ DESTDIR = ./
|
||||
OBJECTS_DIR = $${OBJECTS_DIR}-twospaces
|
||||
|
||||
TARGET = "two space s"
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ SOURCES = main.cpp
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -9,3 +9,4 @@ unix {
|
||||
CONFIG -= qt app_bundle
|
||||
CONFIG += console
|
||||
DESTDIR = ./
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -6,3 +6,4 @@ DESTDIR = "../test Space In Name"
|
||||
mac {
|
||||
CONFIG -= app_bundle
|
||||
}
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qprocessenvironment
|
||||
QT = core testlib
|
||||
SOURCES = tst_qprocessenvironment.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -22,3 +22,4 @@ runtime_resource_install.CONFIG = no_check_exist
|
||||
runtime_resource_install.files = $$OUT_PWD/$${runtime_resource.target}
|
||||
runtime_resource_install.path = $${target.path}
|
||||
INSTALLS += runtime_resource_install
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ SOURCES = tst_qsettings.cpp
|
||||
RESOURCES += qsettings.qrc
|
||||
|
||||
win32-msvc*:LIBS += advapi32.lib
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qstandardpaths
|
||||
QT = core testlib
|
||||
SOURCES = tst_qstandardpaths.cpp
|
||||
TESTDATA += tst_qstandardpaths.cpp qstandardpaths.pro
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qtemporarydir
|
||||
SOURCES += tst_qtemporarydir.cpp
|
||||
|
||||
QT = core testlib
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ TARGET = tst_qtemporaryfile
|
||||
QT = core testlib
|
||||
SOURCES = tst_qtemporaryfile.cpp
|
||||
TESTDATA += tst_qtemporaryfile.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ DESTDIR = ./
|
||||
# This app is testdata for tst_qtextstream
|
||||
target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET
|
||||
INSTALLS += target
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ DESTDIR = ./
|
||||
# This app is testdata for tst_qtextstream
|
||||
target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET
|
||||
INSTALLS += target
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ DESTDIR = ./
|
||||
# This app is testdata for tst_qtextstream
|
||||
target.path = $$[QT_INSTALL_TESTS]/tst_qtextstream/$$TARGET
|
||||
INSTALLS += target
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -20,3 +20,4 @@ TESTDATA += \
|
||||
../qtextstream.qrc \
|
||||
../tst_qtextstream.cpp \
|
||||
../resources
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qurl
|
||||
QT = core testlib
|
||||
SOURCES = tst_qurl.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ TARGET = tst_qurlinternal
|
||||
SOURCES += tst_qurlinternal.cpp ../../codecs/utf8/utf8data.cpp
|
||||
QT = core core-private testlib
|
||||
CONFIG += parallel_test
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qurlquery
|
||||
CONFIG += parallel_test testcase
|
||||
SOURCES += tst_qurlquery.cpp
|
||||
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase
|
||||
TARGET = tst_qwinoverlappedionotifier
|
||||
QT = core-private testlib
|
||||
SOURCES = tst_qwinoverlappedionotifier.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ mtdir = ../../../other/modeltest
|
||||
INCLUDEPATH += $$PWD/$${mtdir}
|
||||
SOURCES = tst_qabstractitemmodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp
|
||||
HEADERS = $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qabstractproxymodel
|
||||
QT += testlib
|
||||
SOURCES += tst_qabstractproxymodel.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ INCLUDEPATH += $$PWD/$${mtdir}
|
||||
QT += testlib
|
||||
SOURCES += tst_qidentityproxymodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp
|
||||
HEADERS += $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase
|
||||
TARGET = tst_qitemmodel
|
||||
QT += widgets sql testlib
|
||||
SOURCES = tst_qitemmodel.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qitemselectionmodel
|
||||
QT += widgets testlib
|
||||
SOURCES += tst_qitemselectionmodel.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -8,3 +8,4 @@ mtdir = ../../../other/modeltest
|
||||
INCLUDEPATH += $$PWD/$${mtdir}
|
||||
SOURCES += tst_qsortfilterproxymodel.cpp $${mtdir}/dynamictreemodel.cpp $${mtdir}/modeltest.cpp
|
||||
HEADERS += $${mtdir}/dynamictreemodel.h $${mtdir}/modeltest.h
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ TARGET = tst_qstringlistmodel
|
||||
QT = core testlib
|
||||
HEADERS += qmodellistener.h
|
||||
SOURCES += tst_qstringlistmodel.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -7,3 +7,4 @@ CONFIG += parallel_test
|
||||
TESTDATA += test.json test.bjson test3.json test2.json
|
||||
|
||||
SOURCES += tst_qtjson.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qcoreapplication
|
||||
QT = core testlib core-private
|
||||
SOURCES = tst_qcoreapplication.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase
|
||||
TARGET = tst_qeventdispatcher
|
||||
QT = core testlib
|
||||
SOURCES += tst_qeventdispatcher.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -5,3 +5,4 @@ QT = core network testlib core-private
|
||||
SOURCES = tst_qeventloop.cpp
|
||||
|
||||
win32:!wince*:LIBS += -luser32
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,3 +2,4 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qmath
|
||||
QT = core testlib
|
||||
SOURCES = tst_qmath.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -4,3 +4,4 @@ TARGET = tst_qmetamethod
|
||||
QT = core testlib
|
||||
SOURCES = tst_qmetamethod.cpp
|
||||
macx:CONFIG -= app_bundle
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qmetaobject
|
||||
QT = core-private gui testlib
|
||||
SOURCES = tst_qmetaobject.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ TARGET = tst_qmetaobjectbuilder
|
||||
QT = core-private gui-private testlib
|
||||
SOURCES = tst_qmetaobjectbuilder.cpp
|
||||
macx:CONFIG -= app_bundle
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qmetaproperty
|
||||
QT = core gui testlib
|
||||
SOURCES = tst_qmetaproperty.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -2,4 +2,5 @@ CONFIG += testcase parallel_test
|
||||
TARGET = tst_qmetatype
|
||||
QT = core testlib
|
||||
SOURCES = tst_qmetatype.cpp
|
||||
TESTDATA=./typeFlags.bin
|
||||
TESTDATA=./typeFlags.bin
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -3,3 +3,4 @@ CONFIG += parallel_test
|
||||
TARGET = tst_qmimedata
|
||||
QT += testlib
|
||||
SOURCES = tst_qmimedata.cpp
|
||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
@ -12,3 +12,4 @@ SOURCES += signalbug.cpp
|
||||
# This app is testdata for tst_qobject
|
||||
target.path = $$[QT_INSTALL_TESTS]/tst_qobject/$$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
Loading…
Reference in New Issue
Block a user