Multi-Qt building

git-svn-id: svn://db.shs.com.ru/libs@250 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
2017-08-03 08:09:44 +00:00
parent 96935ebb4a
commit 0834c45c90
78 changed files with 410 additions and 249 deletions

View File

@@ -1 +1 @@
qad_plugin(utils "")
qad_plugin(utils "Gui" "")

View File

@@ -10,4 +10,7 @@ QList<QDesignerCustomWidgetInterface * > QADUtils::customWidgets() const {
return m_widgets;
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(qad_utils_plugin, QADUtils)
#endif

View File

@@ -7,8 +7,11 @@
class QADUtils: public QObject, public QDesignerCustomWidgetCollectionInterface
{
Q_OBJECT
//Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface")
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "qad.utils")
#endif
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
public:
explicit QADUtils(QObject * parent = 0);
virtual QList<QDesignerCustomWidgetInterface * > customWidgets() const;