summaryrefslogtreecommitdiff
path: root/examples/designer/worldtimeclockplugin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-04-14 15:53:12 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-05-11 07:41:58 +0000
commit7d4149e61fbb299e95968da22daa0818e30802b9 (patch)
tree6084c2e9af72255098c9131c8e212dc0a5672a48 /examples/designer/worldtimeclockplugin
parent3d5dd90ee924665fb1401846a3712ad176a55632 (diff)
downloadqttools-7d4149e61fbb299e95968da22daa0818e30802b9.tar.gz
move ui loader interfaces to own module
it's backwards to declare the interface as part of the designer library itself, as that obviously pulls in half of designer itself into custom widget plugins which should be perfectly usable from the stand-alone ui loader in uitools. also, designer isn't built for embedded systems, so the bundling needlessly limited the availability of widget plugins. so move the relevant headers into a separate include-only module. the designer module retains forwarding headers, as the old includes obviously need to continue working. [ChangeLog][UiTools] Custom widget plugins should now use QT+=uiplugin instead of QT+=designer. This makes them usable on embedded systems. Task-number: QTBUG-44724 Change-Id: I5535b10d2f095b257eeda9681f60b2f8c699f7d7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'examples/designer/worldtimeclockplugin')
-rw-r--r--examples/designer/worldtimeclockplugin/worldtimeclock.h2
-rw-r--r--examples/designer/worldtimeclockplugin/worldtimeclockplugin.h2
-rw-r--r--examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/designer/worldtimeclockplugin/worldtimeclock.h b/examples/designer/worldtimeclockplugin/worldtimeclock.h
index e0220a8dc..8aede328c 100644
--- a/examples/designer/worldtimeclockplugin/worldtimeclock.h
+++ b/examples/designer/worldtimeclockplugin/worldtimeclock.h
@@ -43,7 +43,7 @@
#include <QTime>
#include <QWidget>
-#include <QtDesigner/QDesignerExportWidget>
+#include <QtUiPlugin/QDesignerExportWidget>
//! [0] //! [1]
class QDESIGNER_WIDGET_EXPORT WorldTimeClock : public QWidget
diff --git a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h
index 7ed81ba6f..0a4a40745 100644
--- a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h
+++ b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h
@@ -41,7 +41,7 @@
#ifndef WORLDTIMECLOCKPLUGIN_H
#define WORLDTIMECLOCKPLUGIN_H
-#include <QDesignerCustomWidgetInterface>
+#include <QtUiPlugin/QDesignerCustomWidgetInterface>
//! [0]
class WorldTimeClockPlugin : public QObject,
diff --git a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
index 80a97152a..e8a2d2aab 100644
--- a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
+++ b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
@@ -1,5 +1,5 @@
#! [0]
-QT += widgets designer
+QT += widgets uiplugin
#! [0]
QTDIR_build {