Multi-Qt building
git-svn-id: svn://db.shs.com.ru/libs@250 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -1 +1 @@
|
||||
qad_plugin(touch_widgets "")
|
||||
qad_plugin(touch_widgets "Gui;Widgets" "")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "touch_widgets.h"
|
||||
#include "touchsliderplugin.h"
|
||||
#include "touchbuttframeplugin.h"
|
||||
#include "touchbuttonplugin.h"
|
||||
#include "touch_widgets.h"
|
||||
|
||||
TW::TW(QObject *parent)
|
||||
: QObject(parent)
|
||||
@@ -16,4 +16,7 @@ QList<QDesignerCustomWidgetInterface*> TW::customWidgets() const
|
||||
return m_widgets;
|
||||
}
|
||||
|
||||
|
||||
#if QT_VERSION < 0x050000
|
||||
Q_EXPORT_PLUGIN2(twplugin, TW)
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,9 @@ class TW : public QObject, public QDesignerCustomWidgetCollectionInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
Q_PLUGIN_METADATA(IID "qad.touch_widgets")
|
||||
#endif
|
||||
public:
|
||||
explicit TW(QObject *parent = 0);
|
||||
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
#ifndef TOUCHBUTTFRAMEPLUGIN_H
|
||||
#define TOUCHBUTTFRAMEPLUGIN_H
|
||||
|
||||
#include <QDesignerCustomWidgetInterface>
|
||||
#if QT_VERSION >= 0x050000
|
||||
# include <QtUiPlugin/QDesignerCustomWidgetInterface>
|
||||
#else
|
||||
# include <QDesignerCustomWidgetInterface>
|
||||
#endif
|
||||
|
||||
class TouchButtFramePlugin : public QObject, public QDesignerCustomWidgetInterface
|
||||
{
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
#ifndef TOUCHBUTTONPLUGIN_H
|
||||
#define TOUCHBUTTONPLUGIN_H
|
||||
|
||||
#include <QDesignerCustomWidgetInterface>
|
||||
#if QT_VERSION >= 0x050000
|
||||
# include <QtUiPlugin/QDesignerCustomWidgetInterface>
|
||||
#else
|
||||
# include <QDesignerCustomWidgetInterface>
|
||||
#endif
|
||||
|
||||
class TouchButtonPlugin : public QObject, public QDesignerCustomWidgetInterface
|
||||
{
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
#ifndef TOUCHSLIDERPLUGIN_H
|
||||
#define TOUCHSLIDERPLUGIN_H
|
||||
|
||||
#include <QDesignerCustomWidgetInterface>
|
||||
#if QT_VERSION >= 0x050000
|
||||
# include <QtUiPlugin/QDesignerCustomWidgetInterface>
|
||||
#else
|
||||
# include <QDesignerCustomWidgetInterface>
|
||||
#endif
|
||||
|
||||
class TouchSliderPlugin : public QObject, public QDesignerCustomWidgetInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user