summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@theqtcompany.com>2015-10-08 06:34:11 +0000
committerLiang Qi <liang.qi@theqtcompany.com>2015-10-08 08:09:30 +0000
commit61889f06fa828b483513b8315b4f0870532ece66 (patch)
tree73522f87c47c05f97aa4e9fb7d8288b055339df7
parent3acae0f4508d3ca9bdac82eb619490c41ee99ff3 (diff)
downloadqtquickcontrols-61889f06fa828b483513b8315b4f0870532ece66.tar.gz
Fix compile error when building Qt in a namespace on OS X
Change-Id: I1c9e3edf401b4a6b02bafe4086a57679b4ada79c Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
-rw-r--r--src/extras/Styles/Flat/flatstyleplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extras/Styles/Flat/flatstyleplugin.cpp b/src/extras/Styles/Flat/flatstyleplugin.cpp
index db464c38..a207f0a0 100644
--- a/src/extras/Styles/Flat/flatstyleplugin.cpp
+++ b/src/extras/Styles/Flat/flatstyleplugin.cpp
@@ -69,7 +69,7 @@ QtQuickExtrasStylesPlugin::QtQuickExtrasStylesPlugin(QObject *parent) :
void QtQuickExtrasStylesPlugin::registerTypes(const char *uri)
{
- Q_INIT_RESOURCE(flatstyle);
+ initResources();
const QString prefix = "qrc:/ExtrasImports/QtQuick/Controls/Styles/Flat/";
// register version 1.0