summaryrefslogtreecommitdiffstats
path: root/examples/designer/customwidgetplugin/analogclock.h
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/customwidgetplugin/analogclock.h
parent3d5dd90ee924665fb1401846a3712ad176a55632 (diff)
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/customwidgetplugin/analogclock.h')
-rw-r--r--examples/designer/customwidgetplugin/analogclock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/designer/customwidgetplugin/analogclock.h b/examples/designer/customwidgetplugin/analogclock.h
index 1ea6d9eb4..daec72452 100644
--- a/examples/designer/customwidgetplugin/analogclock.h
+++ b/examples/designer/customwidgetplugin/analogclock.h
@@ -42,7 +42,7 @@
#define ANALOGCLOCK_H
#include <QWidget>
-#include <QtDesigner/QDesignerExportWidget>
+#include <QtUiPlugin/QDesignerExportWidget>
class QDESIGNER_WIDGET_EXPORT AnalogClock : public QWidget
{