forked from qt-creator/qt-creator
qmlpuppet: remove qmlprivategate DesignerSupport < Qt 5.6
Task-number: QTCREATORBUG-26600 Change-Id: I629c8cd1f497ed2dd354ff461aa890a77bdc2a01 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -24,9 +24,11 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "iconrenderer.h"
|
||||
|
||||
#include "../editor3d/selectionboxgeometry.h"
|
||||
#include "../editor3d/generalhelper.h"
|
||||
|
||||
#include <private/qquickdesignersupport_p.h>
|
||||
#include <QtQml/qqmlcomponent.h>
|
||||
#include <QtQml/qqmlengine.h>
|
||||
#include <QtQml/qqmlproperty.h>
|
||||
@@ -63,7 +65,7 @@ IconRenderer::IconRenderer(int size, const QString &filePath, const QString &sou
|
||||
|
||||
void IconRenderer::setupRender()
|
||||
{
|
||||
DesignerSupport::activateDesignerMode();
|
||||
QQuickDesignerSupport::activateDesignerMode();
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
DesignerSupport::activateDesignerWindowManager();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user