Set the Qt API level to compatibility mode in all tests and in one lib.
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 1 Aug 2012 12:58:31 +0000 (14:58 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Aug 2012 21:33:42 +0000 (23:33 +0200)
commit955b3d82646a6487fa0df2c0f4772566e8cb0bf3
treec2a794933d60a6b925f16ccf59799afec9d94d7f
parent96dae368bf54c87e15f45bd6efb92f63c412dad3
Set the Qt API level to compatibility mode in all tests and in one lib.

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.

In QtJson's case, it's using old itemviews API in one library and
those cases haven't been ported yet.

Task-number: QTBUG-25053
Change-Id: If732cdc29097fe3a3117b8ed2b392f6f154360ef
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
27 files changed:
src/client/client.pro
tests/auto/accesscontrol/accesscontrol.pro
tests/auto/client/client.pro
tests/auto/hbtree/hbtree.pro
tests/auto/jsondb-listmodel/jsondb-listmodel.pro
tests/auto/jsondbcachinglistmodel/jsondbcachinglistmodel.pro
tests/auto/jsondblistmodel/jsondblistmodel.pro
tests/auto/jsondbnotification/jsondbnotification.pro
tests/auto/jsondbpartition/jsondbpartition.pro
tests/auto/jsondbqueryobject/jsondbqueryobject.pro
tests/auto/jsondbscriptengine/jsondbscriptengine.pro
tests/auto/jsondbsortinglistmodel/jsondbsortinglistmodel.pro
tests/auto/jsonstream/jsonstream.pro
tests/auto/partition/partition.pro
tests/auto/qbtree/qbtree.pro
tests/auto/qjsondbflushrequest/qjsondbflushrequest.pro
tests/auto/qjsondbrequest/qjsondbrequest.pro
tests/auto/qjsondbwatcher/qjsondbwatcher.pro
tests/auto/queries/queries.pro
tests/auto/storage/storage.pro
tests/benchmarks/btrees/btrees.pro
tests/benchmarks/client/client.pro
tests/benchmarks/jsondbcachinglistmodel/jsondbcachinglistmodel.pro
tests/benchmarks/jsondbobject/jsondbobject.pro
tests/benchmarks/jsondbsortinglistmodel/jsondbsortinglistmodel.pro
tests/benchmarks/partition/partition.pro
tests/manual/bits/bits.pro