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(sql_table "")
|
||||
qad_plugin(sql_table "Gui;Widgets;Sql" "")
|
||||
|
||||
@@ -14,4 +14,6 @@ QList<QDesignerCustomWidgetInterface * > QADSQLTable::customWidgets() const {
|
||||
}
|
||||
|
||||
|
||||
#if QT_VERSION < 0x050000
|
||||
Q_EXPORT_PLUGIN2(qad_sql_table_plugin, QADSQLTable)
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,9 @@ class QADSQLTable: public QObject, public QDesignerCustomWidgetCollectionInterfa
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
Q_PLUGIN_METADATA(IID "qad.sql_table")
|
||||
#endif
|
||||
public:
|
||||
explicit QADSQLTable(QObject * parent = 0);
|
||||
virtual QList<QDesignerCustomWidgetInterface * > customWidgets() const;
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
#ifndef SQLRECORDPLUGIN_H
|
||||
#define SQLRECORDPLUGIN_H
|
||||
|
||||
#include <QDesignerCustomWidgetInterface>
|
||||
#if QT_VERSION >= 0x050000
|
||||
# include <QtUiPlugin/QDesignerCustomWidgetInterface>
|
||||
#else
|
||||
# include <QDesignerCustomWidgetInterface>
|
||||
#endif
|
||||
|
||||
class SQLRecordPlugin: public QObject, public QDesignerCustomWidgetInterface
|
||||
{
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
#ifndef SQLTABLEPLUGIN_H
|
||||
#define SQLTABLEPLUGIN_H
|
||||
|
||||
#include <QDesignerCustomWidgetInterface>
|
||||
#if QT_VERSION >= 0x050000
|
||||
# include <QtUiPlugin/QDesignerCustomWidgetInterface>
|
||||
#else
|
||||
# include <QDesignerCustomWidgetInterface>
|
||||
#endif
|
||||
|
||||
class SQLTablePlugin: public QObject, public QDesignerCustomWidgetInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user