--- /dev/null
+QT.designercomponents.VERSION = 5.0.0
+QT.designercomponents.MAJOR_VERSION = 5
+QT.designercomponents.MINOR_VERSION = 0
+QT.designercomponents.PATCH_VERSION = 0
+
+QT.designercomponents.name = QtDesignerComponents
+QT.designercomponents.bins = $$QT_MODULE_BIN_BASE
+QT.designercomponents.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/QtDesignerComponents
+QT.designercomponents.private_includes = $$QT_MODULE_INCLUDE_BASE/QtDesignerComponents/$$QT.designercomponents.VERSION
+QT.designercomponents.sources = $$QT_MODULE_BASE/src/designer/src/components/lib
+QT.designercomponents.libs = $$QT_MODULE_LIB_BASE
+QT.designercomponents.plugins = $$QT_MODULE_PLUGIN_BASE
+QT.designercomponents.imports = $$QT_MODULE_IMPORT_BASE
+QT.designercomponents.depends = core xml gui widgets
+
+QT_CONFIG += designercomponents
**
****************************************************************************/
</xsl:text>
- <xsl:text>#include "ui4_p.h"&endl;</xsl:text>
+ <xsl:text>#include "private/ui4_p.h"&endl;</xsl:text>
<xsl:text>&endl;</xsl:text>
<xsl:text>#ifdef QUILOADER_QDOM_READ&endl;</xsl:text>
<xsl:text>#include <QtXml/QDomElement>&endl;</xsl:text>
load(qt_module)
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
-INCLUDEPATH += $$QT_SOURCE_TREE/tools/uilib
#include <qdesigner_objectinspector_p.h>
#include <connectionedit_p.h>
#include <actionprovider_p.h>
-#include <ui4_p.h>
+#include <private/ui4_p.h>
#include <deviceprofile_p.h>
#include <shared_settings_p.h>
#include <grid_p.h>
#include "formwindow_dnditem.h"
#include "formwindow.h"
-#include <ui4_p.h>
+#include <private/ui4_p.h>
#include <qdesigner_resource.h>
#include <qtresourcemodel_p.h>
#include <QtDesigner/QDesignerFormEditorInterface>
// shared
-#include <ui4_p.h>
+#include <private/ui4_p.h>
#include <qlayout_widget_p.h>
-#include <formbuilderextra_p.h>
+#include <private/formbuilderextra_p.h>
#include <QtWidgets/QFormLayout>
#include "qwizard_container.h"
#include "layout_propertysheet.h"
-#include <ui4_p.h>
-#include <formbuilderextra_p.h>
-#include <resourcebuilder_p.h>
-#include <textbuilder_p.h>
+#include <private/ui4_p.h>
+#include <private/formbuilderextra_p.h>
+#include <private/resourcebuilder_p.h>
+#include <private/textbuilder_p.h>
#include <qdesigner_widgetitem_p.h>
// shared
#include <qlayout_widget_p.h>
#include <qdesigner_utils_p.h>
-#include <ui4_p.h>
// sdk
#include <QtDesigner/QDesignerPropertySheetExtension>
+MODULE = designercomponents
load(qt_module)
TEMPLATE = lib
TARGET = QtDesignerComponents
-contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
-CONFIG += qt depend_prl no_objective_c designer
-QT += gui-private
-win32|mac: CONFIG += debug_and_release
-DESTDIR = $$QT_BUILD_TREE/lib
-!wince*:DLLDESTDIR = $$QT.designer.bins
-QT += widgets widgets-private designer-private uilib-private
+
+QT += gui-private widgets widgets-private designer designer-private
+
+CONFIG += module
+MODULE_PRI = ../../../../modules/qt_designercomponents.pri
+
+load(qt_module_config)
# QtDesignerComponents uses
DEFINES += QT_STATICPLUGIN
-
-isEmpty(QT_MAJOR_VERSION) {
- VERSION=4.3.0
-} else {
- VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
-}
+DEFINES += QDESIGNER_COMPONENTS_LIBRARY
include($$QT_SOURCE_TREE/src/qt_targets.pri)
QMAKE_TARGET_PRODUCT = Designer
SOURCES += qdesigner_components.cpp
-!contains(CONFIG, static) {
- DEFINES += QDESIGNER_COMPONENTS_LIBRARY
- CONFIG += dll
- LIBS += -lQtDesigner
-} else {
- DEFINES += QT_DESIGNER_STATIC
-}
-
INCLUDEPATH += . .. \
$$PWD/../../lib/components \
$$PWD/../../lib/sdk \
$$PWD/../../lib/extension \
- $$QT_SOURCE_TREE/tools/uilib \
$$PWD/../../lib/shared
include(../propertyeditor/propertyeditor.pri)
QMAKE_PKGCONFIG_REQUIRES = QtCore QtDesigner QtGui QtXml
contains(QT_CONFIG, script): QMAKE_PKGCONFIG_REQUIRES += QtScript
}
-
-target.path=$$[QT_INSTALL_LIBS]
-INSTALLS += target
-win32 {
- dlltarget.path=$$[QT_INSTALL_BINS]
- INSTALLS += dlltarget
-}
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QtCore/QTextStream>
-#include <QtXml/QXmlStreamReader>
+#include <QtCore/QXmlStreamReader>
QT_BEGIN_NAMESPACE
#include "signalslot_utils_p.h"
#include <metadatabase_p.h>
-#include <ui4_p.h>
+#include <private/ui4_p.h>
#include <qdesigner_formwindowcommand_p.h>
#include <QtDesigner/QDesignerFormWindowInterface>
#include "signalsloteditor_tool.h"
#include "signalsloteditor.h"
-#include "ui4_p.h"
+#include "private/ui4_p.h"
#include <QtDesigner/QDesignerFormWindowInterface>
const int cnt = rowCount();
insertRows(cnt, 1);
QModelIndex cat_idx = index(cnt, 0);
- setData(cat_idx, title + QLatin1Char(':'), Qt::DisplayRole);
+ setData(cat_idx, QString(title + QLatin1Char(':')), Qt::DisplayRole);
setData(cat_idx, TitleItem, Qt::UserRole);
QFont font = QApplication::font();
font.setBold(true);
****************************************************************************/
#include "widgetbox_dnditem.h"
-#include "ui4_p.h"
+#include "private/ui4_p.h"
#include <widgetfactory_p.h>
#include <spacer_widget_p.h>
#include <qdesigner_formbuilder_p.h>
#include <qtresourcemodel_p.h>
-#include <formscriptrunner_p.h>
+#include <private/formscriptrunner_p.h>
#include <formwindowbase_p.h>
#include <qdesigner_utils_p.h>
#include <qdesigner_dockwidget_p.h>
// shared
#include <iconloader_p.h>
#include <sheet_delegate_p.h>
-#include <ui4_p.h>
+#include <private/ui4_p.h>
#include <qdesigner_utils_p.h>
#include <pluginmanager_p.h>
load(qt_module)
DESTDIR = $$QT.designer.bins
-QT += core-private widgets xml network designer-private uilib-private
+QT += core-private widgets xml network designer-private uilib-private printsupport
CONFIG += module
MODULE_PRI = ../../../../modules/qt_designer.pri
#include <QtGui/QImage>
#include <QtGui/QPixmap>
#include <QtWidgets/QMdiSubWindow>
-#include <QtWidgets/QPrintDialog>
+#include <QtPrintSupport/QPrintDialog>
#include <QtGui/QPainter>
#include <QtGui/QTransform>
#include <QtGui/QCursor>
#include <QtCore/QObject>
#include <QtCore/QPointer>
-#include <QtGui/QPrinter>
+#include <QtPrintSupport/QPrinter>
QT_BEGIN_NAMESPACE
HEADERS += qtdesignerversion.h
-#!contains(CONFIG, static) {
-# CONFIG += dll
-
-# DEFINES += \
-# QDESIGNER_SDK_LIBRARY \
-# QDESIGNER_EXTENSION_LIBRARY \
-# QDESIGNER_UILIB_LIBRARY \
-# QDESIGNER_SHARED_LIBRARY
-#} else {
-# DEFINES += QT_DESIGNER_STATIC
-#}
+DEFINES += \
+ QDESIGNER_SDK_LIBRARY \
+ QDESIGNER_EXTENSION_LIBRARY \
+ QDESIGNER_UILIB_LIBRARY \
+ QDESIGNER_SHARED_LIBRARY
#mac frameworks
mac:CONFIG += explicitlib
"QtHelp" => "$basedir/src/assistant/help",
"QtUiTools" => "$basedir/src/designer/src/uitools",
"QtDesigner" => "$basedir/src/designer/src/lib",
+ "QtDesignerComponents" => "$basedir/src/designer/src/components/lib",
);
%moduleheaders = ( # restrict the module headers to those found in relative path
);
"qthelpversion.h" => "QtHelpVersion",
"qtuitoolsversion.h" => "QtUiToolsVersion",
"qtdesignerversion.h" => "QtDesigner",
+ "qtdesignercomponentsversion.h" => "QtDesignerComponents",
);
%mastercontent = (
"sql" => "#include <QtSql/QtSql>\n",
"clucene" => "#include <QtCLucene/QtCLucene>\n",
"help" => "#include <QtHelp/QtHelp>\n",
"designer" => "#include <QtDesigner/QtDesigner>\n",
+ "designercomponents" => "#include <QtDesignerComponents/QtDesignerComponents>\n",
"uitools" => "#include <QtUiTools/QtUiTools>\n",
);
%modulepris = (
"QtHelp" => "$basedir/modules/qt_help.pri",
"QtUiTools" => "$basedir/modules/qt_uitools.pri",
"QtDesigner" => "$basedir/modules/qt_designer.pri",
+ "QtDesignerComponents" => "$basedir/modules/qt_designercomponents.pri",
);
%dependencies = (
"qtbase" => "refs/heads/master",