Import symbol from QtGui rather than export from QtWidgets.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Mon, 10 Oct 2011 16:26:50 +0000 (18:26 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Oct 2011 14:00:45 +0000 (16:00 +0200)
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>
src/widgets/kernel/qwidgetsvariant.cpp

index ce977fd..c8ba07f 100644 (file)
@@ -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()
 {