mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-02 03:53:19 +03:00
cmake: add options ENABLE_DIALOG_DESIGNER and HAVE_UI_LOADER
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include "lrdialogdesigner.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QDebug>
|
||||
#include <QDesignerActionEditorInterface>
|
||||
#include <QDesignerComponents>
|
||||
#include <QDesignerFormEditorInterface>
|
||||
@@ -14,7 +13,7 @@
|
||||
#include <QPluginLoader>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#if HAVE_QT5
|
||||
#if (QT_VERSION > QT_VERSION_CHECK(5, 0, 0))
|
||||
#include <QDesignerIntegration>
|
||||
#endif
|
||||
#if HAVE_QT4
|
||||
|
@@ -55,6 +55,8 @@ void initResources()
|
||||
Q_INIT_RESOURCE(items);
|
||||
Q_INIT_RESOURCE(lrscriptbrowser);
|
||||
Q_INIT_RESOURCE(translationeditor);
|
||||
#endif
|
||||
#ifdef ENABLE_DIALOG_DESIGNER
|
||||
Q_INIT_RESOURCE(dialogdesigner);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user