From 49d7222c800a490d6ad5f4fd0141272ab5dbcad2 Mon Sep 17 00:00:00 2001
From: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Date: Fri, 4 Jul 2014 00:32:52 +0200
Subject: [PATCH] Make QtXmlPatterns compile with the
 QExplicitlySharedDataPointer's static_cast

This module requires the static_casts to happen.

Change-Id: Iea2f5aa8c6033edffd920a6de73509f3ae19721d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
---
 src/xmlpatterns/xmlpatterns.pro | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xmlpatterns/xmlpatterns.pro b/src/xmlpatterns/xmlpatterns.pro
index 7aac0c9a..b6469281 100644
--- a/src/xmlpatterns/xmlpatterns.pro
+++ b/src/xmlpatterns/xmlpatterns.pro
@@ -2,7 +2,7 @@ TARGET     = QtXmlPatterns
 CONFIG += exceptions
 QT = core-private network
 
-DEFINES += QT_NO_USING_NAMESPACE
+DEFINES += QT_NO_USING_NAMESPACE QT_ENABLE_QEXPLICITLYSHAREDDATAPOINTER_STATICCAST
 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x61000000
 
 QMAKE_DOCS = $$PWD/doc/qtxmlpatterns.qdocconf
-- 
GitLab