forked from qt-creator/qt-creator
Debugger: Fix build with Qt6
QStringRef gone. ViewOptions changed. MetaType register stream operators automatically. Task-number: QTCREATORBUG-24098 Change-Id: Ibf98561af951aa5fc4ec483d18dafeaad02e07c3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -2128,7 +2128,9 @@ DebuggerPlugin::DebuggerPlugin()
|
||||
m_instance = this;
|
||||
|
||||
qRegisterMetaType<PerspectiveState>("Utils::PerspectiveState");
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
qRegisterMetaTypeStreamOperators<PerspectiveState>("Utils::PerspectiveState");
|
||||
#endif
|
||||
}
|
||||
|
||||
DebuggerPlugin::~DebuggerPlugin()
|
||||
|
||||
Reference in New Issue
Block a user