Skip to content

Commit

Permalink
[ci] Prepare for Qt 6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Sep 16, 2023
1 parent 4d58c93 commit ea7613f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
8 changes: 8 additions & 0 deletions src/lib/score/gfx/QRhiGles2.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#pragma once

#if __has_include(<QtGui/rhi/qrhi_platform.h>)
#include <QtGui/rhi/qrhi_platform.h>
#include <QtGui/private/qrhigles2_p.h>
#else
#include <QtGui/private/qrhigles2_p_p.h>
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,7 @@
#include <QLineEdit>
#include <QOffscreenSurface>
#include <QSpinBox>

#if __has_include(<QtGui/rhi/qrhi_platform.h>)
#include <QtGui/rhi/qrhi_platform.h>
#else
#include <QtGui/private/qrhigles2_p_p.h>
#endif

#include <score/gfx/QRhiGles2.hpp>
#include <shmdata/writer.hpp>

#include <wobjectimpl.h>
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/score-plugin-gfx/Gfx/Spout/SpoutOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
#include <QLabel>
#include <QOffscreenSurface>
#include <Spout/SpoutSender.h>

#include <QtGui/private/qrhigles2_p_p.h>
#include <score/gfx/QRhiGles2.hpp>

#include <wobjectimpl.h>

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/score-plugin-gfx/Gfx/Syphon/SyphonInput.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <QLabel>

#include <wobjectimpl.h>
#include <QtGui/private/qrhigles2_p_p.h>
#include <score/gfx/QRhiGles2.hpp>

namespace Gfx::Syphon
{
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/score-plugin-gfx/Gfx/Syphon/SyphonOutput.mm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <Gfx/GfxApplicationPlugin.hpp>

#include <Gfx/Syphon/SyphonHelpers.hpp>
#include <QtGui/private/qrhigles2_p_p.h>
#include <score/gfx/QRhiGles2.hpp>
#include <QOpenGLContext>
#include <QOffscreenSurface>
#include <QFormLayout>
Expand Down

0 comments on commit ea7613f

Please sign in to comment.