summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2011-10-10 18:26:50 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-11 16:00:45 +0200
commit93c8522dc3f2525bb5838dadde671b70a6ec3fe5 (patch)
tree0b84d1f0dfe9621941c16f07a0068012408761aa /src
parent7a4eec5dbbec01c889fc41ca47c12cd127937316 (diff)
Import symbol from QtGui rather than export from QtWidgets.
The symbol is exported in qguivariant.cpp. Change-Id: I3ba3446251aa3ba9e901bd3e9c2157d8b22d9866 Reviewed-on: http://codereview.qt-project.org/6364 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/kernel/qwidgetsvariant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qwidgetsvariant.cpp b/src/widgets/kernel/qwidgetsvariant.cpp
index ce977fdf8d..c8ba07fa81 100644
--- a/src/widgets/kernel/qwidgetsvariant.cpp
+++ b/src/widgets/kernel/qwidgetsvariant.cpp
@@ -191,7 +191,7 @@ static const QMetaTypeGuiHelper qVariantWidgetsHelper[] = {
Q_IMPL_METATYPE_HELPER(QSizePolicy),
};
-Q_WIDGETS_EXPORT const QVariant::Handler *qt_widgets_variant_handler;
+extern Q_GUI_EXPORT const QVariant::Handler *qt_widgets_variant_handler;
int qRegisterWidgetsVariant()
{