diff options
author | Andy Shaw <andy.shaw@theqtcompany.com> | 2015-10-08 06:34:11 +0000 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-10-08 08:09:30 +0000 |
commit | 61889f06fa828b483513b8315b4f0870532ece66 (patch) | |
tree | 73522f87c47c05f97aa4e9fb7d8288b055339df7 /src/extras | |
parent | 3acae0f4508d3ca9bdac82eb619490c41ee99ff3 (diff) | |
download | qtquickcontrols-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>
Diffstat (limited to 'src/extras')
-rw-r--r-- | src/extras/Styles/Flat/flatstyleplugin.cpp | 2 |
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 |