summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-07-09 15:04:07 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-07-09 18:01:30 +0200
commit7967dcfb45bce9307651d20856a0eccb31d20d60 (patch)
treebbe3e932d2c9a78cfcc15460e09a230b2300ed71 /tests/auto
parent49d7222c800a490d6ad5f4fd0141272ab5dbcad2 (diff)
downloadqtxmlpatterns-7967dcfb45bce9307651d20856a0eccb31d20d60.tar.gz
Make tests compile with the QExplicitlySharedDataPointer's static_cast
We also need the static_casts there. Change-Id: I5e04109d2465e079909138152324820e931062cd Reviewed-by: Kevin Funk <kevin.funk@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/xmlpatternssdk/xmlpatternssdk.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternssdk/xmlpatternssdk.pro b/tests/auto/xmlpatternssdk/xmlpatternssdk.pro
index 40584c7..b932d49 100644
--- a/tests/auto/xmlpatternssdk/xmlpatternssdk.pro
+++ b/tests/auto/xmlpatternssdk/xmlpatternssdk.pro
@@ -2,7 +2,7 @@ include (../xmlpatterns.pri)
TARGET = $$XMLPATTERNS_SDK
TEMPLATE = lib
-DEFINES += Q_PATTERNISTSDK_BUILDING
+DEFINES += Q_PATTERNISTSDK_BUILDING QT_ENABLE_QEXPLICITLYSHAREDDATAPOINTER_STATICCAST
CONFIG += exceptions