build plugin with Qt5

This commit is contained in:
wmayer
2018-03-08 01:51:42 +01:00
parent 0efac92236
commit 12adbc53bf
2 changed files with 7 additions and 1 deletions

View File

@@ -1587,4 +1587,6 @@ QList<QDesignerCustomWidgetInterface *> CustomWidgetPlugin::customWidgets () con
// "</widget>\n");
//}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(containerextension, CustomWidgetPlugin)
#endif

View File

@@ -1,7 +1,11 @@
TEMPLATE = lib
CONFIG += plugin
QT += designer
greaterThan(QT_MAJOR_VERSION, 4) {
QT += designer
} else {
CONFIG += designer
}
TARGET = FreeCAD_widgets
DEPENDPATH += .
INCLUDEPATH += .