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>
This commit is contained in:
Kim Motoyoshi Kalland 2011-10-10 18:26:50 +02:00 committed by Qt by Nokia
parent 7a4eec5dbb
commit 93c8522dc3

View 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()
{