forked from qt-creator/qt-creator
QmlDesigner/editor3d: Fix build with Qt 6.7
rendercontextcore is now a public header (qtquick3d 89ca37fb914c6539334df62b38ea8cee80dade9d) Fixes: QTCREATORBUG-30052 Change-Id: I58ac699ed81e958c0a0fccd14385b3359be1fb08 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
#include <QtQuick3D/private/qquick3dviewport_p.h>
|
#include <QtQuick3D/private/qquick3dviewport_p.h>
|
||||||
#include <QtQuick3D/private/qquick3ddefaultmaterial_p.h>
|
#include <QtQuick3D/private/qquick3ddefaultmaterial_p.h>
|
||||||
#include <QtQuick3D/private/qquick3dscenemanager_p.h>
|
#include <QtQuick3D/private/qquick3dscenemanager_p.h>
|
||||||
#include <QtQuick3DRuntimeRender/private/qssgrendercontextcore_p.h>
|
|
||||||
#include <QtQuick3DRuntimeRender/private/qssgrenderbuffermanager_p.h>
|
#include <QtQuick3DRuntimeRender/private/qssgrenderbuffermanager_p.h>
|
||||||
#include <QtQuick3DRuntimeRender/private/qssgrendermodel_p.h>
|
#include <QtQuick3DRuntimeRender/private/qssgrendermodel_p.h>
|
||||||
#include <QtQuick3DUtils/private/qssgbounds3_p.h>
|
#include <QtQuick3DUtils/private/qssgbounds3_p.h>
|
||||||
@@ -25,6 +24,12 @@
|
|||||||
#include <QtQuick/qquickitem.h>
|
#include <QtQuick/qquickitem.h>
|
||||||
#include <QtCore/qmath.h>
|
#include <QtCore/qmath.h>
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
|
#include <QtQuick3DRuntimeRender/private/qssgrendercontextcore_p.h>
|
||||||
|
#else
|
||||||
|
#include <QtQuick3DRuntimeRender/ssg/qssgrendercontextcore.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef QUICK3D_PARTICLES_MODULE
|
#ifdef QUICK3D_PARTICLES_MODULE
|
||||||
#include <QtQuick3DParticles/private/qquick3dparticlemodelshape_p.h>
|
#include <QtQuick3DParticles/private/qquick3dparticlemodelshape_p.h>
|
||||||
#include <QtQuick3DParticles/private/qquick3dparticleemitter_p.h>
|
#include <QtQuick3DParticles/private/qquick3dparticleemitter_p.h>
|
||||||
|
@@ -6,7 +6,6 @@
|
|||||||
#include "selectionboxgeometry.h"
|
#include "selectionboxgeometry.h"
|
||||||
|
|
||||||
#include <QtQuick3DRuntimeRender/private/qssgrendermodel_p.h>
|
#include <QtQuick3DRuntimeRender/private/qssgrendermodel_p.h>
|
||||||
#include <QtQuick3DRuntimeRender/private/qssgrendercontextcore_p.h>
|
|
||||||
#include <QtQuick3DRuntimeRender/private/qssgrenderbuffermanager_p.h>
|
#include <QtQuick3DRuntimeRender/private/qssgrenderbuffermanager_p.h>
|
||||||
#include <QtQuick3D/private/qquick3dmodel_p.h>
|
#include <QtQuick3D/private/qquick3dmodel_p.h>
|
||||||
#include <QtQuick3D/private/qquick3dscenemanager_p.h>
|
#include <QtQuick3D/private/qquick3dscenemanager_p.h>
|
||||||
@@ -14,6 +13,12 @@
|
|||||||
#include <QtQuick/qquickwindow.h>
|
#include <QtQuick/qquickwindow.h>
|
||||||
#include <QtCore/qvector.h>
|
#include <QtCore/qvector.h>
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
|
#include <QtQuick3DRuntimeRender/private/qssgrendercontextcore_p.h>
|
||||||
|
#else
|
||||||
|
#include <QtQuick3DRuntimeRender/ssg/qssgrendercontextcore.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
@@ -46,7 +46,12 @@
|
|||||||
#define USE_PIPELINE_CACHE 1
|
#define USE_PIPELINE_CACHE 1
|
||||||
|
|
||||||
#if defined(QUICK3D_MODULE) && QT_VERSION >= QT_VERSION_CHECK(6, 5, 2)
|
#if defined(QUICK3D_MODULE) && QT_VERSION >= QT_VERSION_CHECK(6, 5, 2)
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
#include <QtQuick3DRuntimeRender/private/qssgrendercontextcore_p.h>
|
#include <QtQuick3DRuntimeRender/private/qssgrendercontextcore_p.h>
|
||||||
|
#else
|
||||||
|
#include <QtQuick3DRuntimeRender/private/qssgrendershadercache_p.h>
|
||||||
|
#include <QtQuick3DRuntimeRender/ssg/qssgrendercontextcore.h>
|
||||||
|
#endif
|
||||||
#include <QtQuick3D/private/qquick3dscenemanager_p.h>
|
#include <QtQuick3D/private/qquick3dscenemanager_p.h>
|
||||||
#define USE_SHADER_CACHE 1
|
#define USE_SHADER_CACHE 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user