In a full build of Qt, I'm seeing lots of warnings about calling deprecated Qt
functions, some of which have been deprecated since 6.1.
Whenever you introduce a new QT_DEPRECATED warning, you have to fix the code
that is affected by it in all of Qt and in Qt Creator before the warning
starts getting emitted. This applies to warnings-in-later-versions too.
If the replacement code isn't available in an earlier version, for Qt Creator
insert the necessary #if. For the rest of Qt, you must make sure the
replacement code has integrated and is available in the upstream module first,
then make the replacement, and only then deprecate.
I've started the clean-up:
https://codereview.qt-project.org/c/qt/qtserialport/+/407661
https://codereview.qt-project.org/c/qt/qtwayland/+/407662
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel DPG Cloud Engineering
ninja: Entering directory `/home/tjmaciei/obj/qt/qt6-release'
[921/9206] Generating rep_grammar.cpp, rep_grammar_p.h, repparser.h,
repparser.cpp
*** Conflicts: 24 shift/reduce, 28 reduce/reduce
[1522/9206] Building CXX object
qtserialport/src/serialport/CMakeFiles/SerialPort.dir/qserialport_unix.cpp.o
qtserialport/src/serialport/qserialport_unix.cpp: In member function ‘bool
QSerialPortPrivate::open(QIODeviceBase::OpenMode)’:
qtserialport/src/serialport/qserialport_unix.cpp:352:31: warning: ‘void
QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T =
QLockFile; Cleanup = QScopedPointerDeleter<QLockFile>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
352 | lockFileScopedPointer.swap(newLockFileScopedPointer);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qobject.h:53,
from qtbase/include/QtCore/qobject.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/io/qiodevice.h:46,
from qtbase/include/QtCore/qiodevice.h:1,
from qtserialport/src/serialport/qserialport.h:44,
from qtserialport/src/serialport/qserialport_p.h:56,
from qtserialport/src/serialport/qserialport_unix.cpp:42:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[1630/9206] Generating properties_interface.h, properties_interface.cpp
qdbusxml2cpp: Got unknown type `a{sv}' processing
'qtsensors/src/plugins/sensors/iio-sensor-proxy/org.freedesktop.DBus.Properties.xml'
You should add <annotation name="org.qtproject.QtDBus.QtTypeName.Out1"
value="<type>"/> to the XML description for 'changed_properties'
[1690/9206] Automatic MOC for target Bluetooth
AutoMoc: qtconnectivity/src/bluetooth/qbluetoothservicediscoveryagent_p.h:0:1:
note: No relevant classes found. No output generated.
AutoMoc: qtconnectivity/src/bluetooth/qbluetoothdevicediscoveryagent_p.h:0:1:
note: No relevant classes found. No output generated.
[3398/9206] Building CXX object
qtwayland/src/client/CMakeFiles/WaylandClient.dir/shellintegration/qwaylandshellintegrationfactory.cpp.o
qtwayland/src/client/shellintegration/qwaylandshellintegrationfactory.cpp: In
static member function ‘static QtWaylandClient::QWaylandShellIntegration*
QtWaylandClient::QWaylandShellIntegrationFactory::create(const QString&,
QtWaylandClient::QWaylandDisplay*, const QStringList&)’:
qtwayland/src/client/shellintegration/qwaylandshellintegrationfactory.cpp:67:28:
warning: ‘T* QScopedPointer<T, Cleanup>::take() [with T =
QtWaylandClient::QWaylandShellIntegration; Cleanup =
QScopedPointerDeleter<QtWaylandClient::QWaylandShellIntegration>]’ is
deprecated: Use std::unique_ptr instead, and call release().
[-Wdeprecated-declarations]
67 | return integration.take();
| ~~~~~~~~~~~~~~~~^~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qobject.h:53,
from qtbase/include/QtCore/qobject.h:1,
from qtbase/include/QtCore/QObject:1,
from
qtbase/include/QtWaylandClient/6.4.0/QtWaylandClient/private/../../../../../../../../../src/qt/qt6/qtwayland/src/client/qwaylanddisplay_p.h:55,
from
qtbase/include/QtWaylandClient/6.4.0/QtWaylandClient/private/qwaylanddisplay_p.h:1,
from
qtwayland/src/client/shellintegration/qwaylandshellintegrationfactory_p.h:54,
from
qtwayland/src/client/shellintegration/qwaylandshellintegrationfactory.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:165:8:
note: declared here
165 | T *take() noexcept
| ^~~~
[3632/9206] Building CXX object
qtwayland/src/client/CMakeFiles/WaylandClient.dir/qwaylandinputmethodcontext.cpp.o
qtwayland/src/client/qwaylandinputmethodcontext.cpp: In member function
‘virtual void
QtWaylandClient::QWaylandTextInputMethod::text_input_method_v1_input_method_event_attribute(uint32_t,
int32_t, int32_t, int32_t, const QString&)’:
qtwayland/src/client/qwaylandinputmethodcontext.cpp:149:123: warning:
‘QColor::QColor(const QString&)’ is deprecated: Use QColor::fromString()
instead. [-Wdeprecated-declarations]
149 |
attributes.append(QInputMethodEvent::Attribute(QInputMethodEvent::AttributeType(type),
start, length, QColor(value)));
|
^
In file included from qtbase/include/QtGui/qcolor.h:1,
from
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/image/qimage.h:44,
from qtbase/include/QtGui/qimage.h:1,
from qtbase/include/QtGui/QImage:1,
from
qtbase/include/QtWaylandClient/6.4.0/QtWaylandClient/private/../../../../../../../../../src/qt/qt6/qtwayland/src/client/qwaylandshm_p.h:54,
from
qtbase/include/QtWaylandClient/6.4.0/QtWaylandClient/private/qwaylandshm_p.h:1,
from qtwayland/src/client/qwaylanddisplay_p.h:66,
from qtwayland/src/client/qwaylandinputmethodcontext.cpp:41:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/painting/qcolor.h:322:8:
note: declared here
322 | inline QColor::QColor(const QString& aname)
| ^~~~~~
[3900/9206] Building CXX object
qtwayland/src/client/CMakeFiles/WaylandClient.dir/qwaylanddisplay.cpp.o
qtwayland/src/client/qwaylanddisplay.cpp: In destructor ‘virtual
QtWaylandClient::QWaylandDisplay::~QWaylandDisplay()’:
qtwayland/src/client/qwaylanddisplay.cpp:392:37: warning: ‘T* QScopedPointer<T,
Cleanup>::take() [with T = QtWaylandClient::QWaylandDataDeviceManager; Cleanup
= QScopedPointerDeleter<QtWaylandClient::QWaylandDataDeviceManager>]’ is
deprecated: Use std::unique_ptr instead, and call release().
[-Wdeprecated-declarations]
392 | delete mDndSelectionHandler.take();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qobject.h:53,
from qtbase/include/QtCore/qobject.h:1,
from qtbase/include/QtCore/QObject:1,
from qtwayland/src/client/qwaylanddisplay_p.h:55,
from qtwayland/src/client/qwaylanddisplay.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:165:8:
note: declared here
165 | T *take() noexcept
| ^~~~
[4162/9206] Building CXX object
qt3d/src/input/CMakeFiles/3DInput.dir/backend/inputhandler.cpp.o
qt3d/src/input/backend/inputhandler.cpp: In member function ‘virtual bool
Qt3DInput::Input::InternalEventFilter::eventFilter(QObject*, QEvent*)’:
qt3d/src/input/backend/inputhandler.cpp:87:80: warning:
‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton,
Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is
deprecated: Use another constructor [-Wdeprecated-declarations]
87 |
he->modifiers());
|
^
In file included from qtbase/include/QtGui/qevent.h:1,
from qtbase/include/QtGui/QKeyEvent:1,
from
qtbase/include/Qt3DInput/../../../../../../src/qt/qt6/qt3d/src/input/frontend/qkeyevent.h:45,
from qtbase/include/Qt3DInput/qkeyevent.h:1,
from qtbase/include/Qt3DInput/QKeyEvent:1,
from qt3d/src/input/backend/inputhandler_p.h:54,
from qt3d/src/input/backend/inputhandler.cpp:40:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/kernel/qevent.h:229:5:
note: declared here
229 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton
button,
| ^~~~~~~~~~~
[4253/9206] Building CXX object
qt3d/src/render/CMakeFiles/3DRender.dir/materialsystem/qshaderprogram.cpp.o
qt3d/src/render/materialsystem/qshaderprogram.cpp: In static member function
‘static QByteArray Qt3DRender::QShaderProgramPrivate::deincludify(const
QByteArray&, const QString&)’:
qt3d/src/render/materialsystem/qshaderprogram.cpp:939:97: warning: ‘qsizetype
QByteArray::count() const’ is deprecated: Use size() or length() instead.
[-Wdeprecated-declarations]
939 | const QString includePartialPath =
QString::fromUtf8(line.mid(includeDirective.count() + 1));
|
~~~~~~~~~~~~~~~~~~~~~~^~
In file included from qtbase/include/QtCore/qbytearray.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qstringview.h:58,
from qtbase/include/QtCore/qstringview.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qchar.h:687,
from qtbase/include/QtCore/qchar.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qtextstream.h:44,
from qtbase/include/QtCore/qtextstream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/io/qdebug.h:45,
from qtbase/include/QtCore/qdebug.h:1,
from qtbase/include/QtCore/QDebug:1,
from
qtbase/include/Qt3DCore/../../../../../../src/qt/qt6/qt3d/src/core/nodes/qnodeid.h:44,
from qtbase/include/Qt3DCore/qnodeid.h:1,
from
qtbase/include/Qt3DCore/../../../../../../src/qt/qt6/qt3d/src/core/nodes/qnode.h:43,
from qtbase/include/Qt3DCore/qnode.h:1,
from qt3d/src/render/materialsystem/qshaderprogram.h:43,
from qt3d/src/render/materialsystem/qshaderprogram.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qbytearray.h:475:22:
note: declared here
475 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
[4311/9206] Building CXX object
qt3d/src/render/CMakeFiles/3DRender.dir/picking/pickeventfilter.cpp.o
qt3d/src/render/picking/pickeventfilter.cpp: In member function ‘virtual bool
Qt3DRender::Render::PickEventFilter::eventFilter(QObject*, QEvent*)’:
qt3d/src/render/picking/pickeventfilter.cpp:81:54: warning:
‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton,
Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is
deprecated: Use another constructor [-Wdeprecated-declarations]
81 | he->modifiers());
| ^
In file included from qtbase/include/QtGui/qevent.h:1,
from qtbase/include/QtGui/QMouseEvent:1,
from qt3d/src/render/picking/pickeventfilter_p.h:55,
from qt3d/src/render/picking/pickeventfilter.cpp:40:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/kernel/qevent.h:229:5:
note: declared here
229 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton
button,
| ^~~~~~~~~~~
[4391/9206] Building CXX object
qt3d/src/render/CMakeFiles/3DRender.dir/texture/qtexture.cpp.o
qt3d/src/render/texture/qtexture.cpp: In function
‘Qt3DRender::QTextureImageDataPtr
Qt3DRender::{anonymous}::setKtxFile(QIODevice*)’:
qt3d/src/render/texture/qtexture.cpp:547:40: warning: ‘qsizetype
QByteArray::count() const’ is deprecated: Use size() or length() instead.
[-Wdeprecated-declarations]
547 | if (source->read(bytesToSkip).count() != bytesToSkip) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from qtbase/include/QtCore/qbytearray.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/io/qurl.h:44,
from qtbase/include/QtCore/qurl.h:1,
from qtbase/include/QtCore/QUrl:1,
from qt3d/src/render/texture/qtextureimage.h:43,
from qt3d/src/render/texture/qtexture.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qbytearray.h:475:22:
note: declared here
475 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
[4569/9206] Generating .qsb/declarativemaps/shaders/polygon.vert.qsb
[524110.079] qsb(209567 209567)(unknown): spirv-opt -O
/tmp/qsb-byYKqx/qsb_spv_temp -o /tmp/qsb-byYKqx/qsb_spv_temp_out
[524110.107] qsb(209567 209567)(unknown): spirv-opt -O
/tmp/qsb-byYKqx/qsb_spv_temp -o /tmp/qsb-byYKqx/qsb_spv_temp_out
[4570/9206] Generating .qsb/declarativemaps/shaders/polygon.frag.qsb
[524110.043] qsb(209571 209571)(unknown): spirv-opt -O
/tmp/qsb-BvlmAd/qsb_spv_temp -o /tmp/qsb-BvlmAd/qsb_spv_temp_out
[4571/9206] Generating .qsb/declarativemaps/shaders/polyline_extruded.frag.qsb
[524110.077] qsb(209573 209573)(unknown): spirv-opt -O
/tmp/qsb-GkzQht/qsb_spv_temp -o /tmp/qsb-GkzQht/qsb_spv_temp_out
[4572/9206] Generating .qsb/declarativemaps/shaders/polyline_linestrip.frag.qsb
[524110.071] qsb(209576 209576)(unknown): spirv-opt -O
/tmp/qsb-OvfNir/qsb_spv_temp -o /tmp/qsb-OvfNir/qsb_spv_temp_out
[4573/9206] Generating .qsb/declarativemaps/shaders/polyline_extruded.vert.qsb
[524110.120] qsb(209581 209581)(unknown): spirv-opt -O
/tmp/qsb-aPOYVh/qsb_spv_temp -o /tmp/qsb-aPOYVh/qsb_spv_temp_out
[524110.157] qsb(209581 209581)(unknown): spirv-opt -O
/tmp/qsb-aPOYVh/qsb_spv_temp -o /tmp/qsb-aPOYVh/qsb_spv_temp_out
[4574/9206] Generating .qsb/declarativemaps/shaders/polyline_linestrip.vert.qsb
[524110.124] qsb(209585 209585)(unknown): spirv-opt -O
/tmp/qsb-hdkgZs/qsb_spv_temp -o /tmp/qsb-hdkgZs/qsb_spv_temp_out
[524110.134] qsb(209585 209585)(unknown): spirv-opt -O
/tmp/qsb-hdkgZs/qsb_spv_temp -o /tmp/qsb-hdkgZs/qsb_spv_temp_out
[4594/9206] Building CXX object
qt3d/src/plugins/renderers/opengl/CMakeFiles/OpenGLRendererLib.dir/__/__/__/3rdparty/imgui/imgui_draw.cpp.o
In file included from qt3d/src/3rdparty/imgui/imgui_draw.cpp:31:
qt3d/src/3rdparty/imgui/imgui_internal.h: In constructor
‘ImGuiInputTextState::ImGuiInputTextState()’:
qt3d/src/3rdparty/imgui/imgui_internal.h:503:61: warning: ‘void* memset(void*,
int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no
trivial copy-assignment; use assignment or value-initialization instead
[-Wclass-memaccess]
503 | ImGuiInputTextState() { memset(this, 0,
sizeof(*this)); }
|
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/3rdparty/imgui/imgui_internal.h:484:18: note: ‘struct
ImGuiInputTextState’ declared here
484 | struct IMGUI_API ImGuiInputTextState
| ^~~~~~~~~~~~~~~~~~~
[4630/9206] Building CXX object
qt3d/src/plugins/renderers/opengl/CMakeFiles/OpenGLRendererLib.dir/__/__/__/3rdparty/imgui/imgui_widgets.cpp.o
In file included from qt3d/src/3rdparty/imgui/imgui_widgets.cpp:36:
qt3d/src/3rdparty/imgui/imgui_internal.h: In constructor
‘ImGuiInputTextState::ImGuiInputTextState()’:
qt3d/src/3rdparty/imgui/imgui_internal.h:503:61: warning: ‘void* memset(void*,
int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no
trivial copy-assignment; use assignment or value-initialization instead
[-Wclass-memaccess]
503 | ImGuiInputTextState() { memset(this, 0,
sizeof(*this)); }
|
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/3rdparty/imgui/imgui_internal.h:484:18: note: ‘struct
ImGuiInputTextState’ declared here
484 | struct IMGUI_API ImGuiInputTextState
| ^~~~~~~~~~~~~~~~~~~
[4696/9206] Building CXX object
qt3d/src/plugins/renderers/opengl/CMakeFiles/OpenGLRendererLib.dir/__/__/__/3rdparty/imgui/imgui.cpp.o
In file included from qt3d/src/3rdparty/imgui/imgui.cpp:857:
qt3d/src/3rdparty/imgui/imgui_internal.h: In constructor
‘ImGuiInputTextState::ImGuiInputTextState()’:
qt3d/src/3rdparty/imgui/imgui_internal.h:503:61: warning: ‘void* memset(void*,
int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no
trivial copy-assignment; use assignment or value-initialization instead
[-Wclass-memaccess]
503 | ImGuiInputTextState() { memset(this, 0,
sizeof(*this)); }
|
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/3rdparty/imgui/imgui_internal.h:484:18: note: ‘struct
ImGuiInputTextState’ declared here
484 | struct IMGUI_API ImGuiInputTextState
| ^~~~~~~~~~~~~~~~~~~
[4712/9206] Building CXX object
qt3d/src/plugins/renderers/rhi/CMakeFiles/RhiRendererLib.dir/renderer/commandexecuter.cpp.o
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:249:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::parameterPackToJson(const
Qt3DRender::Render::Rhi::ShaderParameterPack&)’ defined but not used
[-Wunused-function]
249 | QJsonObject parameterPackToJson(const Render::Rhi::ShaderParameterPack
&pack) noexcept
| ^~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:218:12: warning:
‘QJsonValue Qt3DRender::Debug::{anonymous}::typeToJsonValue(const Type&) [with
Type = QVariant]’ defined but not used [-Wunused-function]
218 | QJsonValue typeToJsonValue<QVariant>(const QVariant &v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:192:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QMatrix4x4]’ defined but not used [-Wunused-function]
192 | QJsonObject typeToJsonObj<QMatrix4x4>(const QMatrix4x4 &v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:151:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = Qt3DCore::QNodeId]’ defined but not used [-Wunused-function]
151 | QJsonObject typeToJsonObj<Qt3DCore::QNodeId>(const Qt3DCore::QNodeId
&v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:127:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QVector3D]’ defined but not used [-Wunused-function]
127 | QJsonObject typeToJsonObj<QVector3D>(const QVector3D &v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:116:12: warning:
‘QJsonValue Qt3DRender::Debug::{anonymous}::typeToJsonValue(const Type&) [with
Type = QSize]’ defined but not used [-Wunused-function]
116 | QJsonValue typeToJsonValue<QSize>(const QSize &s) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:105:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QSize]’ defined but not used [-Wunused-function]
105 | QJsonObject typeToJsonObj<QSize>(const QSize &s) noexcept
| ^~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:92:12: warning:
‘QJsonValue Qt3DRender::Debug::{anonymous}::typeToJsonValue(const Type&) [with
Type = QRectF]’ defined but not used [-Wunused-function]
92 | QJsonValue typeToJsonValue<QRectF>(const QRectF &rect) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:79:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QRectF]’ defined but not used [-Wunused-function]
79 | QJsonObject typeToJsonObj<QRectF>(const QRectF &rect) noexcept
| ^~~~~~~~~~~~~~~~~~~~~
[5502/9206] Automatic MOC for target WaylandCompositor
AutoMoc: qtwayland/src/compositor/global/qwaylandquickextension.h:0:1: note: No
relevant classes found. No output generated.
AutoMoc:
qtwayland/src/compositor/extensions/qwltexturesharingextension_p.h:88:1:
warning: Property declaration imageSearchPath has neither an associated
QProperty<> member, nor a READ accessor function nor an associated MEMBER
variable. The property will be invalid.
[5627/9206] Building CXX object
qt3d/src/extras/CMakeFiles/3DExtras.dir/defaults/qmetalroughmaterial.cpp.o
qt3d/src/extras/defaults/qmetalroughmaterial.cpp: In constructor
‘Qt3DExtras::QMetalRoughMaterialPrivate::QMetalRoughMaterialPrivate()’:
qt3d/src/extras/defaults/qmetalroughmaterial.cpp:64:85: warning:
‘QColor::QColor(const char*)’ is deprecated: Use QColor::fromString() instead.
[-Wdeprecated-declarations]
64 | , m_baseColorParameter(new QParameter(QStringLiteral("baseColor"),
QColor("grey")))
|
^
In file included from qtbase/include/QtGui/qcolor.h:1,
from
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/image/qimage.h:44,
from qtbase/include/QtGui/qimage.h:1,
from
qtbase/include/QtOpenGL/../../../../../../src/qt/qt6/qtbase/src/opengl/qopengltexture.h:48,
from qtbase/include/QtOpenGL/qopengltexture.h:1,
from
qtbase/include/Qt3DRender/../../../../../../src/qt/qt6/qt3d/src/render/texture/qtextureimagedata.h:45,
from qtbase/include/Qt3DRender/qtextureimagedata.h:1,
from
qtbase/include/Qt3DRender/../../../../../../src/qt/qt6/qt3d/src/render/texture/qabstracttexture.h:43,
from qtbase/include/Qt3DRender/qabstracttexture.h:1,
from
qtbase/include/Qt3DRender/../../../../../../src/qt/qt6/qt3d/src/render/materialsystem/qmaterial.h:48,
from qtbase/include/Qt3DRender/qmaterial.h:1,
from qt3d/src/extras/defaults/qmetalroughmaterial.h:44,
from qt3d/src/extras/defaults/qmetalroughmaterial.cpp:40:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/painting/qcolor.h:325:8:
note: declared here
325 | inline QColor::QColor(const char *aname)
| ^~~~~~
[5738/9206] Building CXX object
qt3d/src/plugins/geometryloaders/gltf/CMakeFiles/GLTFGeometryLoaderPlugin.dir/gltfgeometryloader.cpp.o
In file included from qtbase/include/QtCore/qcompilerdetection.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal.h:135,
from qtbase/include/QtCore/qglobal.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qjsonvalue.h:43,
from qtbase/include/QtCore/qjsonvalue.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qjsondocument.h:43,
from qtbase/include/QtCore/qjsondocument.h:1,
from qtbase/include/QtCore/QJsonDocument:1,
from
qt3d/src/plugins/geometryloaders/gltf/gltfgeometryloader.h:54,
from
qt3d/src/plugins/geometryloaders/gltf/gltfgeometryloader.cpp:40:
qt3d/src/plugins/geometryloaders/gltf/gltfgeometryloader.cpp: In member
function ‘void Qt3DRender::GLTFGeometryLoader::processJSONBufferView(const
QString&, const QJsonObject&)’:
qt3d/src/plugins/geometryloaders/gltf/gltfgeometryloader.cpp:326:31: warning:
‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length()
instead. [-Wdeprecated-declarations]
326 | if (Q_UNLIKELY(bytes.count() != int(len))) {
| ~~~~~~~~~~~^~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qcompilerdetection.h:232:49:
note: in definition of macro ‘Q_UNLIKELY’
232 | # define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false)
| ^~~~
In file included from qtbase/include/QtCore/qbytearray.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qstringview.h:58,
from qtbase/include/QtCore/qstringview.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qchar.h:687,
from qtbase/include/QtCore/qchar.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qstring.h:50,
from qtbase/include/QtCore/qstring.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qjsonvalue.h:44:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qbytearray.h:475:22:
note: declared here
475 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
qt3d/src/plugins/geometryloaders/gltf/gltfgeometryloader.cpp: In member
function ‘void Qt3DRender::GLTFGeometryLoader::processJSONBufferViewV2(const
QJsonObject&)’:
qt3d/src/plugins/geometryloaders/gltf/gltfgeometryloader.cpp:363:31: warning:
‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length()
instead. [-Wdeprecated-declarations]
363 | if (Q_UNLIKELY(bytes.count() != int(len))) {
| ~~~~~~~~~~~^~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qcompilerdetection.h:232:49:
note: in definition of macro ‘Q_UNLIKELY’
232 | # define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false)
| ^~~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qbytearray.h:475:22:
note: declared here
475 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
[5765/9206] Building CXX object
qt3d/src/plugins/renderers/rhi/CMakeFiles/RhiRendererPlugin.dir/renderer/commandexecuter.cpp.o
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:249:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::parameterPackToJson(const
Qt3DRender::Render::Rhi::ShaderParameterPack&)’ defined but not used
[-Wunused-function]
249 | QJsonObject parameterPackToJson(const Render::Rhi::ShaderParameterPack
&pack) noexcept
| ^~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:218:12: warning:
‘QJsonValue Qt3DRender::Debug::{anonymous}::typeToJsonValue(const Type&) [with
Type = QVariant]’ defined but not used [-Wunused-function]
218 | QJsonValue typeToJsonValue<QVariant>(const QVariant &v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:192:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QMatrix4x4]’ defined but not used [-Wunused-function]
192 | QJsonObject typeToJsonObj<QMatrix4x4>(const QMatrix4x4 &v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:151:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = Qt3DCore::QNodeId]’ defined but not used [-Wunused-function]
151 | QJsonObject typeToJsonObj<Qt3DCore::QNodeId>(const Qt3DCore::QNodeId
&v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:127:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QVector3D]’ defined but not used [-Wunused-function]
127 | QJsonObject typeToJsonObj<QVector3D>(const QVector3D &v) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:116:12: warning:
‘QJsonValue Qt3DRender::Debug::{anonymous}::typeToJsonValue(const Type&) [with
Type = QSize]’ defined but not used [-Wunused-function]
116 | QJsonValue typeToJsonValue<QSize>(const QSize &s) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:105:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QSize]’ defined but not used [-Wunused-function]
105 | QJsonObject typeToJsonObj<QSize>(const QSize &s) noexcept
| ^~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:92:12: warning:
‘QJsonValue Qt3DRender::Debug::{anonymous}::typeToJsonValue(const Type&) [with
Type = QRectF]’ defined but not used [-Wunused-function]
92 | QJsonValue typeToJsonValue<QRectF>(const QRectF &rect) noexcept
| ^~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/plugins/renderers/rhi/renderer/commandexecuter.cpp:79:13: warning:
‘QJsonObject Qt3DRender::Debug::{anonymous}::typeToJsonObj(const Type&) [with
Type = QRectF]’ defined but not used [-Wunused-function]
79 | QJsonObject typeToJsonObj<QRectF>(const QRectF &rect) noexcept
| ^~~~~~~~~~~~~~~~~~~~~
[5766/9206] Building CXX object
qt3d/src/plugins/renderers/opengl/CMakeFiles/OpenGLRendererPlugin.dir/__/__/__/3rdparty/imgui/imgui_draw.cpp.o
In file included from qt3d/src/3rdparty/imgui/imgui_draw.cpp:31:
qt3d/src/3rdparty/imgui/imgui_internal.h: In constructor
‘ImGuiInputTextState::ImGuiInputTextState()’:
qt3d/src/3rdparty/imgui/imgui_internal.h:503:61: warning: ‘void* memset(void*,
int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no
trivial copy-assignment; use assignment or value-initialization instead
[-Wclass-memaccess]
503 | ImGuiInputTextState() { memset(this, 0,
sizeof(*this)); }
|
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/3rdparty/imgui/imgui_internal.h:484:18: note: ‘struct
ImGuiInputTextState’ declared here
484 | struct IMGUI_API ImGuiInputTextState
| ^~~~~~~~~~~~~~~~~~~
[5775/9206] Building CXX object
qt3d/src/plugins/renderers/opengl/CMakeFiles/OpenGLRendererPlugin.dir/__/__/__/3rdparty/imgui/imgui_widgets.cpp.o
In file included from qt3d/src/3rdparty/imgui/imgui_widgets.cpp:36:
qt3d/src/3rdparty/imgui/imgui_internal.h: In constructor
‘ImGuiInputTextState::ImGuiInputTextState()’:
qt3d/src/3rdparty/imgui/imgui_internal.h:503:61: warning: ‘void* memset(void*,
int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no
trivial copy-assignment; use assignment or value-initialization instead
[-Wclass-memaccess]
503 | ImGuiInputTextState() { memset(this, 0,
sizeof(*this)); }
|
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/3rdparty/imgui/imgui_internal.h:484:18: note: ‘struct
ImGuiInputTextState’ declared here
484 | struct IMGUI_API ImGuiInputTextState
| ^~~~~~~~~~~~~~~~~~~
[5885/9206] Building CXX object
qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/assimphelpers.cpp.o
qt3d/src/plugins/sceneparsers/assimp/assimphelpers.cpp: In member function
‘virtual Assimp::IOStream* Qt3DRender::AssimpHelper::AssimpIOSystem::Open(const
char*, const char*)’:
qt3d/src/plugins/sceneparsers/assimp/assimphelpers.cpp:213:48: warning: ‘T*
QScopedPointer<T, Cleanup>::take() [with T = QFile; Cleanup =
QScopedPointerDeleter<QFile>]’ is deprecated: Use std::unique_ptr instead, and
call release(). [-Wdeprecated-declarations]
213 | return new AssimpIOStream(file.take());
| ~~~~~~~~~^~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qobject.h:53,
from qtbase/include/QtCore/qobject.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/io/qiodevice.h:46,
from qtbase/include/QtCore/qiodevice.h:1,
from qtbase/include/QtCore/QIODevice:1,
from qt3d/src/plugins/sceneparsers/assimp/assimphelpers.h:57,
from qt3d/src/plugins/sceneparsers/assimp/assimphelpers.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:165:8:
note: declared here
165 | T *take() noexcept
| ^~~~
[5893/9206] Building CXX object
qt3d/src/plugins/renderers/opengl/CMakeFiles/OpenGLRendererPlugin.dir/__/__/__/3rdparty/imgui/imgui.cpp.o
In file included from qt3d/src/3rdparty/imgui/imgui.cpp:857:
qt3d/src/3rdparty/imgui/imgui_internal.h: In constructor
‘ImGuiInputTextState::ImGuiInputTextState()’:
qt3d/src/3rdparty/imgui/imgui_internal.h:503:61: warning: ‘void* memset(void*,
int, size_t)’ clearing an object of type ‘struct ImGuiInputTextState’ with no
trivial copy-assignment; use assignment or value-initialization instead
[-Wclass-memaccess]
503 | ImGuiInputTextState() { memset(this, 0,
sizeof(*this)); }
|
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
qt3d/src/3rdparty/imgui/imgui_internal.h:484:18: note: ‘struct
ImGuiInputTextState’ declared here
484 | struct IMGUI_API ImGuiInputTextState
| ^~~~~~~~~~~~~~~~~~~
In function ‘void ImStrncpy(char*, const char*, size_t)’,
inlined from ‘void ImStrncpy(char*, const char*, size_t)’ at
qt3d/src/3rdparty/imgui/imgui.cpp:1209:6,
inlined from ‘ImGuiTextFilter::ImGuiTextFilter(const char*)’ at
qt3d/src/3rdparty/imgui/imgui.cpp:1875:18,
inlined from ‘ImGuiTextFilter::ImGuiTextFilter(const char*)’ at
qt3d/src/3rdparty/imgui/imgui.cpp:1871:1:
qt3d/src/3rdparty/imgui/imgui.cpp:1212:12: warning: ‘char* strncpy(char*, const
char*, size_t)’ specified bound 256 equals destination size
[-Wstringop-truncation]
1212 | strncpy(dst, src, count);
| ~~~~~~~^~~~~~~~~~~~~~~~~
[6491/9206] Building CXX object
qt3d/src/plugins/sceneparsers/gltf/CMakeFiles/GLTFSceneImportPlugin.dir/gltfimporter.cpp.o
In file included from qtbase/include/QtCore/qcompilerdetection.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal.h:135,
from qtbase/include/QtCore/qglobal.h:1,
from
qtbase/include/Qt3DCore/../../../../../../src/qt/qt6/qt3d/src/core/qt3dcore_global.h:43,
from qtbase/include/Qt3DCore/qt3dcore_global.h:1,
from
qtbase/include/Qt3DCore/../../../../../../src/qt/qt6/qt3d/src/core/geometry/qattribute.h:43,
from qtbase/include/Qt3DCore/qattribute.h:1,
from qt3d/src/plugins/sceneparsers/gltf/gltfimporter.h:55,
from qt3d/src/plugins/sceneparsers/gltf/gltfimporter.cpp:41:
qt3d/src/plugins/sceneparsers/gltf/gltfimporter.cpp: In member function ‘void
Qt3DRender::GLTFImporter::processJSONBufferView(const QString&, const
QJsonObject&)’:
qt3d/src/plugins/sceneparsers/gltf/gltfimporter.cpp:1512:31: warning:
‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length()
instead. [-Wdeprecated-declarations]
1512 | if (Q_UNLIKELY(bytes.count() != int(len))) {
| ~~~~~~~~~~~^~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qcompilerdetection.h:232:49:
note: in definition of macro ‘Q_UNLIKELY’
232 | # define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false)
| ^~~~
In file included from qtbase/include/QtCore/qbytearray.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qstringview.h:58,
from qtbase/include/QtCore/qstringview.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qchar.h:687,
from qtbase/include/QtCore/qchar.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qtextstream.h:44,
from qtbase/include/QtCore/qtextstream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/io/qdebug.h:45,
from qtbase/include/QtCore/qdebug.h:1,
from qtbase/include/QtCore/QDebug:1,
from
qtbase/include/Qt3DCore/../../../../../../src/qt/qt6/qt3d/src/core/nodes/qnodeid.h:44,
from qtbase/include/Qt3DCore/qnodeid.h:1,
from
qtbase/include/Qt3DCore/../../../../../../src/qt/qt6/qt3d/src/core/nodes/qnode.h:43,
from qtbase/include/Qt3DCore/qnode.h:1,
from
qtbase/include/Qt3DCore/../../../../../../src/qt/qt6/qt3d/src/core/geometry/qattribute.h:44:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/text/qbytearray.h:475:22:
note: declared here
475 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
[6619/9206] Building CXX object
qt3d/src/quick3d/quick3d/CMakeFiles/3DQuick.dir/qt3dquickvaluetypes.cpp.o
qt3d/src/quick3d/quick3d/qt3dquickvaluetypes.cpp: In static member function
‘static QVariant Qt3DCore::Quick::QQuick3DColorValueType::create(const
QJSValue&)’:
qt3d/src/quick3d/quick3d/qt3dquickvaluetypes.cpp:92:56: warning:
‘QColor::QColor(const QString&)’ is deprecated: Use QColor::fromString()
instead. [-Wdeprecated-declarations]
92 | return params.isString() ? QColor(params.toString()) : QVariant();
| ^
In file included from qtbase/include/QtGui/qcolor.h:1,
from qtbase/include/QtGui/QColor:1,
from qt3d/src/quick3d/quick3d/qt3dquickvaluetypes_p.h:55,
from qt3d/src/quick3d/quick3d/qt3dquickvaluetypes.cpp:41:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/painting/qcolor.h:322:8:
note: declared here
322 | inline QColor::QColor(const QString& aname)
| ^~~~~~
qt3d/src/quick3d/quick3d/qt3dquickvaluetypes.cpp: In member function ‘QVector3D
Qt3DCore::Quick::QQuick3DMatrix4x4ValueType::times(const QVector3D&) const’:
qt3d/src/quick3d/quick3d/qt3dquickvaluetypes.cpp:305:16: warning: ‘QVector3D
operator*(const QMatrix4x4&, const QVector3D&)’ is deprecated: Use
matrix.map(vector) instead [-Wdeprecated-declarations]
305 | return v * vec;
| ^~~
In file included from qtbase/include/QtGui/qmatrix4x4.h:1,
from qtbase/include/QtGui/QMatrix4x4:1,
from qt3d/src/quick3d/quick3d/qt3dquickvaluetypes_p.h:56:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:756:18:
note: declared here
756 | inline QVector3D operator*(const QMatrix4x4& matrix, const QVector3D&
vector)
| ^~~~~~~~
qt3d/src/quick3d/quick3d/qt3dquickvaluetypes.cpp: In member function ‘QVector3D
Qt3DCore::Quick::QQuick3DVector3DValueType::times(const QMatrix4x4&) const’:
qt3d/src/quick3d/quick3d/qt3dquickvaluetypes.cpp:425:16: warning: ‘QVector3D
operator*(const QVector3D&, const QMatrix4x4&)’ is deprecated: Extend the
QVector3D to a QVector4D with 1.0 as the w coordinate before multiplying
[-Wdeprecated-declarations]
425 | return v * m;
| ^
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:730:18:
note: declared here
730 | inline QVector3D operator*(const QVector3D& vector, const QMatrix4x4&
matrix)
| ^~~~~~~~
[6736/9206] Building CXX object
qtwayland/src/compositor/CMakeFiles/WaylandCompositor.dir/extensions/qwaylandtextinput.cpp.o
qtwayland/src/compositor/extensions/qwaylandtextinput.cpp: In member function
‘virtual void
QWaylandTextInputPrivate::zwp_text_input_v2_update_state(QtWaylandServer::zwp_text_input_v2::Resource*,
uint32_t, uint32_t)’:
qtwayland/src/compositor/extensions/qwaylandtextinput.cpp:400:26: warning:
‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T =
QWaylandTextInputClientState; Cleanup =
QScopedPointerDeleter<QWaylandTextInputClientState>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
400 | currentState.swap(pendingState);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qobject.h:53,
from qtbase/include/QtCore/qobject.h:1,
from
qtbase/include/QtQml/../../../../../../src/qt/qt6/qtdeclarative/src/qml/qml/qqmlparserstatus.h:44,
from qtbase/include/QtQml/qqmlparserstatus.h:1,
from
qtbase/include/QtQml/../../../../../../src/qt/qt6/qtdeclarative/src/qml/qml/qqmlprivate.h:55,
from qtbase/include/QtQml/qqmlprivate.h:1,
from
qtbase/include/QtQml/../../../../../../src/qt/qt6/qtdeclarative/src/qml/qml/qqml.h:43,
from qtbase/include/QtQml/qqml.h:1,
from
qtbase/include/QtWaylandCompositor/../../../../../../src/qt/qt6/qtwayland/src/compositor/global/qtwaylandqmlinclude.h:47,
from
qtbase/include/QtWaylandCompositor/qtwaylandqmlinclude.h:1,
from
qtbase/include/QtWaylandCompositor/../../../../../../src/qt/qt6/qtwayland/src/compositor/global/qwaylandcompositorextension.h:34,
from
qtbase/include/QtWaylandCompositor/qwaylandcompositorextension.h:1,
from
qtbase/include/QtWaylandCompositor/QWaylandCompositorExtension:1,
from
qtwayland/src/compositor/extensions/qwaylandtextinput.h:33,
from
qtwayland/src/compositor/extensions/qwaylandtextinput.cpp:30:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[7668/9206] Building CXX object
qtwayland/src/plugins/hardwareintegration/compo...ir/__/__/__/__/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp.o
qtwayland/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp:
In member function ‘VulkanImageWrapper*
VulkanWrapperPrivate::createImage(VkFormat, VkImageTiling, VkImageUsageFlags,
VkMemoryPropertyFlags, const QSize&, int)’:
qtwayland/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp:267:29:
warning: ‘T* QScopedPointer<T, Cleanup>::take() [with T = VulkanImageWrapper;
Cleanup = QScopedPointerDeleter<VulkanImageWrapper>]’ is deprecated: Use
std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
267 | return imageWrapper.take();
| ~~~~~~~~~~~~~~~~~^~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qobject.h:53,
from qtbase/include/QtCore/qobject.h:1,
from
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/kernel/qopenglcontext.h:48,
from qtbase/include/QtGui/qopenglcontext.h:1,
from qtbase/include/QtGui/QOpenGLContext:1,
from
qtwayland/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.h:33,
from
qtwayland/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp:34:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:165:8:
note: declared here
165 | T *take() noexcept
| ^~~~
qtwayland/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp:
In member function ‘VulkanImageWrapper*
VulkanWrapperPrivate::createTextureImageFromData(const uchar*, uint, const
QSize&, VkFormat)’:
qtwayland/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp:552:29:
warning: ‘T* QScopedPointer<T, Cleanup>::take() [with T = VulkanImageWrapper;
Cleanup = QScopedPointerDeleter<VulkanImageWrapper>]’ is deprecated: Use
std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
552 | return imageWrapper.take();
| ~~~~~~~~~~~~~~~~~^~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:165:8:
note: declared here
165 | T *take() noexcept
| ^~~~
[7861/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/maps/qgeoroute.cpp.o
qtlocation/src/location/maps/qgeoroute.cpp: In member function ‘virtual void
QGeoRoutePrivateDefault::setContainingRoute(const QGeoRoute&)’:
qtlocation/src/location/maps/qgeoroute.cpp:698:27: warning: ‘void
QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T =
QGeoRoute; Cleanup = QScopedPointerDeleter<QGeoRoute>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
698 | m_containingRoute.swap(containingRoute);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from qtbase/include/QtCore/QMetaType:1,
from
qtbase/include/QtPositioning/../../../../../../src/qt/qt6/qtpositioning/src/positioning/qgeocoordinate.h:43,
from qtbase/include/QtPositioning/qgeocoordinate.h:1,
from qtbase/include/QtPositioning/QGeoCoordinate:1,
from qtlocation/src/location/maps/qgeoroute.h:43,
from qtlocation/src/location/maps/qgeoroute.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[8098/9206] Building CXX object
qtlocation/src/plugins/geoservices/osm/CMakeFiles/QGeoServiceProviderFactoryOsmPlugin.dir/qgeotileproviderosm.cpp.o
qtlocation/src/plugins/geoservices/osm/qgeotileproviderosm.cpp: In member
function ‘void QGeoTileProviderOsm::addProvider(TileProvider*)’:
qtlocation/src/plugins/geoservices/osm/qgeotileproviderosm.cpp:274:22: warning:
‘T* QScopedPointer<T, Cleanup>::take() [with T = TileProvider; Cleanup =
QScopedPointerDeleter<TileProvider>]’ is deprecated: Use std::unique_ptr
instead, and call release(). [-Wdeprecated-declarations]
274 | provider = p.take();
| ~~~~~~^~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/maps/qgeomaptype_p.h:56,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qgeomaptype_p.h:1,
from
qtlocation/src/plugins/geoservices/osm/qgeotileproviderosm.h:43,
from
qtlocation/src/plugins/geoservices/osm/qgeotileproviderosm.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:165:8:
note: declared here
165 | T *take() noexcept
| ^~~~
[8278/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qdeclarativegeomapitemview.cpp.o
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp: In
member function ‘void
QDeclarativeGeoMapItemView::transitionItemOut(QQuickItem*)’:
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp:432:44:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeGeoMapItemTransitionManager; Cleanup =
QScopedPointerDeleter<QDeclarativeGeoMapItemTransitionManager>]’ is deprecated:
Use std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
432 | group->m_transitionManager.swap(manager);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview_p.h:56,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp:42:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp:445:43:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeGeoMapItemTransitionManager; Cleanup =
QScopedPointerDeleter<QDeclarativeGeoMapItemTransitionManager>]’ is deprecated:
Use std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
445 | item->m_transitionManager.swap(manager);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp: In
member function ‘void
QDeclarativeGeoMapItemView::addItemToMap(QDeclarativeGeoMapItemBase*, int,
bool)’:
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp:497:47:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeGeoMapItemTransitionManager; Cleanup =
QScopedPointerDeleter<QDeclarativeGeoMapItemTransitionManager>]’ is deprecated:
Use std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
497 | item->m_transitionManager.swap(manager);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp: In
member function ‘void
QDeclarativeGeoMapItemView::addItemViewToMap(QDeclarativeGeoMapItemView*, int,
bool)’:
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp:525:47:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeGeoMapItemTransitionManager; Cleanup =
QScopedPointerDeleter<QDeclarativeGeoMapItemTransitionManager>]’ is deprecated:
Use std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
525 | item->m_transitionManager.swap(manager);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp: In
member function ‘void
QDeclarativeGeoMapItemView::addItemGroupToMap(QDeclarativeGeoMapItemGroup*,
int, bool)’:
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemview.cpp:545:47:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeGeoMapItemTransitionManager; Cleanup =
QScopedPointerDeleter<QDeclarativeGeoMapItemTransitionManager>]’ is deprecated:
Use std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
545 | item->m_transitionManager.swap(manager);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[8287/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/maps/qgeocameratiles.cpp.o
qtlocation/src/location/maps/qgeocameratiles.cpp: In member function ‘Frustum
QGeoCameraTilesPrivate::createFrustum(double) const’:
qtlocation/src/location/maps/qgeocameratiles.cpp:274:51: warning: ‘QVector3D
operator*(const QMatrix4x4&, const QVector3D&)’ is deprecated: Use
matrix.map(vector) instead [-Wdeprecated-declarations]
274 | up = toDoubleVector3D(mBearing * toVector3D(up));
| ^
In file included from qtbase/include/QtGui/qmatrix4x4.h:1,
from qtbase/include/QtGui/QMatrix4x4:1,
from qtlocation/src/location/maps/qgeocameratiles.cpp:49:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:756:18:
note: declared here
756 | inline QVector3D operator*(const QMatrix4x4& matrix, const QVector3D&
vector)
| ^~~~~~~~
qtlocation/src/location/maps/qgeocameratiles.cpp:280:52: warning: ‘QVector3D
operator*(const QMatrix4x4&, const QVector3D&)’ is deprecated: Use
matrix.map(vector) instead [-Wdeprecated-declarations]
280 | eye = toDoubleVector3D((mTilt * toVector3D(view)) +
toVector3D(center));
| ^
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:756:18:
note: declared here
756 | inline QVector3D operator*(const QMatrix4x4& matrix, const QVector3D&
vector)
| ^~~~~~~~
[8552/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/labs/qsg/qmaprouteobjectqsg.cpp.o
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg.cpp: In constructor
‘QMapRouteObjectPrivateQSG::QMapRouteObjectPrivateQSG(QGeoMapObject*)’:
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg.cpp:48:20: warning: ‘void
QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T =
QMapPolylineObjectPrivateQSG; Cleanup =
QScopedPointerDeleter<QMapPolylineObjectPrivateQSG>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
48 | m_polyline.swap(poly);
| ~~~~~~~~~~~~~~~^~~~~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg_p_p.h:54,
from
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg.cpp: In constructor
‘QMapRouteObjectPrivateQSG::QMapRouteObjectPrivateQSG(const
QMapRouteObjectPrivate&)’:
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg.cpp:56:20: warning: ‘void
QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T =
QMapPolylineObjectPrivateQSG; Cleanup =
QScopedPointerDeleter<QMapPolylineObjectPrivateQSG>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
56 | m_polyline.swap(poly);
| ~~~~~~~~~~~~~~~^~~~~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg.cpp: In member function
‘virtual void QMapRouteObjectPrivateQSG::setRoute(const QDeclarativeGeoRoute*)’:
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg.cpp:83:46: warning:
‘QColor::QColor(const char*)’ is deprecated: Use QColor::fromString() instead.
[-Wdeprecated-declarations]
83 | m_polyline->setColor(QColor("deepskyblue")); // ToDo: support
MapParameters for this
| ^
In file included from qtbase/include/QtGui/qcolor.h:1,
from qtbase/include/QtGui/QColor:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/labs/qmappolylineobject_p_p.h:58,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qmappolylineobject_p_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/labs/qsg/qmappolylineobjectqsg_p_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qmappolylineobjectqsg_p_p.h:1,
from
qtlocation/src/location/labs/qsg/qmaprouteobjectqsg_p_p.h:55:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/painting/qcolor.h:325:8:
note: declared here
325 | inline QColor::QColor(const char *aname)
| ^~~~~~
[8562/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/maps/qgeotiledmapscene.cpp.o
qtlocation/src/location/maps/qgeotiledmapscene.cpp: In function ‘bool
qgeotiledmapscene_isTileInViewport_Straight(const QRectF&, const QMatrix4x4&)’:
qtlocation/src/location/maps/qgeotiledmapscene.cpp:459:66: warning: ‘QPointF
operator*(const QMatrix4x4&, const QPointF&)’ is deprecated: Use
matrix.map(point) instead [-Wdeprecated-declarations]
459 | const QRectF boundingRect = QRectF(matrix * tileRect.topLeft(),
matrix * tileRect.bottomRight());
| ^
In file included from qtbase/include/QtGui/qmatrix4x4.h:1,
from qtbase/include/QtGui/QMatrix4x4:1,
from
qtbase/include/QtQuick/../../../../../../src/qt/qt6/qtdeclarative/src/quick/scenegraph/coreapi/qsgnode.h:45,
from qtbase/include/QtQuick/qsgnode.h:1,
from
qtbase/include/QtQuick/../../../../../../src/qt/qt6/qtdeclarative/src/quick/scenegraph/util/qsgimagenode.h:43,
from qtbase/include/QtQuick/qsgimagenode.h:1,
from qtbase/include/QtQuick/QSGImageNode:1,
from qtlocation/src/location/maps/qgeotiledmapscene_p_p.h:56,
from qtlocation/src/location/maps/qgeotiledmapscene.cpp:41:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
qtlocation/src/location/maps/qgeotiledmapscene.cpp:459:99: warning: ‘QPointF
operator*(const QMatrix4x4&, const QPointF&)’ is deprecated: Use
matrix.map(point) instead [-Wdeprecated-declarations]
459 | const QRectF boundingRect = QRectF(matrix * tileRect.topLeft(),
matrix * tileRect.bottomRight());
|
^
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
qtlocation/src/location/maps/qgeotiledmapscene.cpp: In function ‘bool
qgeotiledmapscene_isTileInViewport_rotationTilt(const QRectF&, const
QMatrix4x4&)’:
qtlocation/src/location/maps/qgeotiledmapscene.cpp:466:51: warning: ‘QPointF
operator*(const QMatrix4x4&, const QPointF&)’ is deprecated: Use
matrix.map(point) instead [-Wdeprecated-declarations]
466 | const QPointF tlt = matrix * tileRect.topLeft();
| ^
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
qtlocation/src/location/maps/qgeotiledmapscene.cpp:467:52: warning: ‘QPointF
operator*(const QMatrix4x4&, const QPointF&)’ is deprecated: Use
matrix.map(point) instead [-Wdeprecated-declarations]
467 | const QPointF trt = matrix * tileRect.topRight();
| ^
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
qtlocation/src/location/maps/qgeotiledmapscene.cpp:468:54: warning: ‘QPointF
operator*(const QMatrix4x4&, const QPointF&)’ is deprecated: Use
matrix.map(point) instead [-Wdeprecated-declarations]
468 | const QPointF blt = matrix * tileRect.bottomLeft();
| ^
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
qtlocation/src/location/maps/qgeotiledmapscene.cpp:469:55: warning: ‘QPointF
operator*(const QMatrix4x4&, const QPointF&)’ is deprecated: Use
matrix.map(point) instead [-Wdeprecated-declarations]
469 | const QPointF brt = matrix * tileRect.bottomRight();
| ^
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
[8691/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/labs/qsg/qmapcircleobjectqsg.cpp.o
qtlocation/src/location/labs/qsg/qmapcircleobjectqsg.cpp: In member function
‘void QMapCircleObjectPrivateQSG::switchToGL()’:
qtlocation/src/location/labs/qsg/qmapcircleobjectqsg.cpp:208:18: warning: ‘void
QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T =
QMapCircleObjectPrivateQSG::CircleDataGL; Cleanup =
QScopedPointerDeleter<QMapCircleObjectPrivateQSG::CircleDataGL>]’ is
deprecated: Use std::unique_ptr instead of QScopedPointer.
[-Wdeprecated-declarations]
208 | m_dataGL.swap(data);
| ~~~~~~~~~~~~~^~~~~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtlocation/src/location/labs/qsg/qmapcircleobjectqsg_p_p.h:54,
from
qtlocation/src/location/labs/qsg/qmapcircleobjectqsg.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/labs/qsg/qmapcircleobjectqsg.cpp: In member function
‘void QMapCircleObjectPrivateQSG::switchToCPU()’:
qtlocation/src/location/labs/qsg/qmapcircleobjectqsg.cpp:218:19: warning: ‘void
QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&) [with T =
QMapCircleObjectPrivateQSG::CircleDataCPU; Cleanup =
QScopedPointerDeleter<QMapCircleObjectPrivateQSG::CircleDataCPU>]’ is
deprecated: Use std::unique_ptr instead of QScopedPointer.
[-Wdeprecated-declarations]
218 | m_dataCPU.swap(data);
| ~~~~~~~~~~~~~~^~~~~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[8755/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qdeclarativegeomapcopyrightsnotice.cpp.o
qtlocation/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice.cpp:
In member function ‘void
QDeclarativeGeoMapCopyrightNotice::rasterizeHtmlAndUpdate()’:
qtlocation/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice.cpp:250:25:
warning: ‘QColor::QColor(const QString&)’ is deprecated: Use
QColor::fromString() instead. [-Wdeprecated-declarations]
250 | ctx.palette.setColor(QPalette::Text, QStringLiteral("black"));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from qtbase/include/QtGui/qcolor.h:1,
from
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/image/qimage.h:44,
from qtbase/include/QtGui/qimage.h:1,
from qtbase/include/QtGui/QImage:1,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h:57,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice.cpp:41:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/painting/qcolor.h:322:8:
note: declared here
322 | inline QColor::QColor(const QString& aname)
| ^~~~~~
[8763/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qquickgeomapgesturearea.cpp.o
qtlocation/src/location/declarativemaps/qquickgeomapgesturearea.cpp: In member
function ‘void QQuickGeoMapGestureArea::startFlick(int, int, int)’:
qtlocation/src/location/declarativemaps/qquickgeomapgesturearea.cpp:1822:26:
warning: ‘QPointF operator*(const QMatrix4x4&, const QPointF&)’ is deprecated:
Use matrix.map(point) instead [-Wdeprecated-declarations]
1822 | delta = matBearing * delta;
| ^~~~~
In file included from qtbase/include/QtGui/qmatrix4x4.h:1,
from qtbase/include/QtGui/QMatrix4x4:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/maps/qgeoprojection_p.h:58,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qgeoprojection_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/maps/qgeomap_p.h:59,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qgeomap_p.h:1,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomap_p.h:66,
from
qtlocation/src/location/declarativemaps/qquickgeomapgesturearea.cpp:42:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
[8778/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qdeclarativerectanglemapitem.cpp.o
qtlocation/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp: In
member function ‘void QDeclarativeRectangleMapItem::setBackend(Backend)’:
qtlocation/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp:197:13:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeRectangleMapItemPrivate; Cleanup =
QScopedPointerDeleter<QDeclarativeRectangleMapItemPrivate>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
197 | m_d.swap(d);
| ~~~~~~~~^~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtlocation/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h:54,
from
qtlocation/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[8787/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qdeclarativecirclemapitem.cpp.o
qtlocation/src/location/declarativemaps/qdeclarativecirclemapitem.cpp: In
member function ‘void QDeclarativeCircleMapItem::possiblySwitchBackend(const
QGeoCoordinate&, qreal, const QGeoCoordinate&, qreal)’:
qtlocation/src/location/declarativemaps/qdeclarativecirclemapitem.cpp:456:17:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeCircleMapItemPrivate; Cleanup =
QScopedPointerDeleter<QDeclarativeCircleMapItemPrivate>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
456 | m_d.swap(d);
| ~~~~~~~~^~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtlocation/src/location/declarativemaps/qdeclarativecirclemapitem_p.h:54,
from
qtlocation/src/location/declarativemaps/qdeclarativecirclemapitem.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/declarativemaps/qdeclarativecirclemapitem.cpp:460:17:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeCircleMapItemPrivate; Cleanup =
QScopedPointerDeleter<QDeclarativeCircleMapItemPrivate>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
460 | m_d.swap(d);
| ~~~~~~~~^~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
qtlocation/src/location/declarativemaps/qdeclarativecirclemapitem.cpp: In
member function ‘void QDeclarativeCircleMapItem::setBackend(Backend)’:
qtlocation/src/location/declarativemaps/qdeclarativecirclemapitem.cpp:542:13:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativeCircleMapItemPrivate; Cleanup =
QScopedPointerDeleter<QDeclarativeCircleMapItemPrivate>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
542 | m_d.swap(d);
| ~~~~~~~~^~~
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[8943/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qdeclarativepolygonmapitem.cpp.o
qtlocation/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp: In
member function ‘void QDeclarativePolygonMapItem::setBackend(Backend)’:
qtlocation/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp:697:13:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativePolygonMapItemPrivate; Cleanup =
QScopedPointerDeleter<QDeclarativePolygonMapItemPrivate>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
697 | m_d.swap(d);
| ~~~~~~~~^~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomapitemutils_p.h:55,
from
qtlocation/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[8951/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qdeclarativepolylinemapitem.cpp.o
qtlocation/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp: In
member function ‘void QDeclarativePolylineMapItem::setBackend(Backend)’:
qtlocation/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp:1228:13:
warning: ‘void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup>&)
[with T = QDeclarativePolylineMapItemPrivate; Cleanup =
QScopedPointerDeleter<QDeclarativePolylineMapItemPrivate>]’ is deprecated: Use
std::unique_ptr instead of QScopedPointer. [-Wdeprecated-declarations]
1228 | m_d.swap(d);
| ~~~~~~~~^~~
In file included from qtbase/include/QtCore/qscopedpointer.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/serialization/qdatastream.h:43,
from qtbase/include/QtCore/qdatastream.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/kernel/qmetatype.h:50,
from qtbase/include/QtCore/qmetatype.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qversionnumber.h:46,
from qtbase/include/QtCore/qversionnumber.h:1,
from
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/global/qoperatingsystemversion.h:41,
from qtbase/include/QtCore/qoperatingsystemversion.h:1,
from
qtbase/include/QtCore/6.4.0/QtCore/private/../../../../../../../../../src/qt/qt6/qtbase/src/corelib/global/qglobal_p.h:114,
from qtbase/include/QtCore/6.4.0/QtCore/private/qglobal_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/qlocationglobal_p.h:55,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qlocationglobal_p.h:1,
from
qtlocation/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h:54,
from
qtlocation/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp:40:
qtbase/include/QtCore/../../../../../../src/qt/qt6/qtbase/src/corelib/tools/qscopedpointer.h:174:10:
note: declared here
174 | void swap(QScopedPointer<T, Cleanup> &other) noexcept
| ^~~~
[8970/9206] Building CXX object
qtlocation/src/location/CMakeFiles/Location.dir/declarativemaps/qdeclarativegeomap.cpp.o
qtlocation/src/location/declarativemaps/qdeclarativegeomap.cpp: In member
function ‘void QDeclarativeGeoMap::fitViewportToMapItemsRefine(const
QList<QPointer<QDeclarativeGeoMapItemBase> >&, bool, bool)’:
qtlocation/src/location/declarativemaps/qdeclarativegeomap.cpp:2431:89:
warning: ‘QPointF operator*(const QMatrix4x4&, const QPointF&)’ is deprecated:
Use matrix.map(point) instead [-Wdeprecated-declarations]
2431 | QPointF transformedPosition = quickItem->matrix_->m_matrix
* item->position();
|
^
In file included from qtbase/include/QtGui/qmatrix4x4.h:1,
from qtbase/include/QtGui/QMatrix4x4:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/maps/qgeoprojection_p.h:58,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qgeoprojection_p.h:1,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/../../../../../../../../../src/qt/qt6/qtlocation/src/location/maps/qgeomap_p.h:59,
from
qtbase/include/QtLocation/6.4.0/QtLocation/private/qgeomap_p.h:1,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomap_p.h:66,
from
qtlocation/src/location/declarativemaps/qdeclarativegeomap.cpp:40:
qtbase/include/QtGui/../../../../../../src/qt/qt6/qtbase/src/gui/math3d/qmatrix4x4.h:865:16:
note: declared here
865 | inline QPointF operator*(const QMatrix4x4& matrix, const QPointF& point)
| ^~~~~~~~
[9160/9206] Building CXX object
qtquick3d/src/plugins/assetimporters/assimp/CMa...terPlugin.dir/__/__/__/3rdparty/assimp/src/code/Common/ZipArchiveIOSystem.cpp.o
qtquick3d/src/3rdparty/assimp/src/code/Common/ZipArchiveIOSystem.cpp: In static
member function ‘static void* Assimp::IOSystem2Unzip::opendisk(voidpf, voidpf,
uint32_t, int)’:
qtquick3d/src/3rdparty/assimp/src/code/Common/ZipArchiveIOSystem.cpp:129:52:
warning: comparison of unsigned expression in ‘>= 0’ is always true
[-Wtype-limits]
129 | for (i = io_stream->m_Filename.length() - 1; i >= 0; i -= 1)
| ~~^~~~
qtquick3d/src/3rdparty/assimp/src/code/Common/ZipArchiveIOSystem.cpp:137:11:
warning: comparison of unsigned expression in ‘>= 0’ is always true
[-Wtype-limits]
137 | if (i >= 0)
| ~~^~~~
[9204/9206] Building CXX object
qtquick3d/src/plugins/assetimporters/assimp/CMa...ugin.dir/__/__/__/3rdparty/assimp/src/code/AssetLib/Collada/ColladaParser.cpp.o
qtquick3d/src/3rdparty/assimp/src/code/AssetLib/Collada/ColladaParser.cpp: In
member function ‘void Assimp::ColladaParser::ReadInputChannel(Assimp::XmlNode&,
std::vector<Assimp::Collada::InputChannel>&)’:
qtquick3d/src/3rdparty/assimp/src/code/AssetLib/Collada/ColladaParser.cpp:1667:77:
warning: dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
1667 | XmlParser::getUIntAttribute(node, "offset", (unsigned int
&)channel.mOffset);
|
~~~~~~~~^~~~~~~
qtquick3d/src/3rdparty/assimp/src/code/AssetLib/Collada/ColladaParser.cpp: In
member function ‘void
Assimp::ColladaParser::ReadMaterialVertexInputBinding(Assimp::XmlNode&,
Assimp::Collada::SemanticMappingTable&)’:
qtquick3d/src/3rdparty/assimp/src/code/AssetLib/Collada/ColladaParser.cpp:2188:95:
warning: dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
2188 | XmlParser::getUIntAttribute(currentNode,
"input_semantic", (unsigned int &)vn.mType);
|
~~~^~~~~
qtquick3d/src/3rdparty/assimp/src/code/AssetLib/Collada/ColladaParser.cpp:2194:91:
warning: dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
2194 | XmlParser::getUIntAttribute(currentNode, "input_semantic",
(unsigned int &)vn.mType);
|
~~~^~~~~
[9206/9206] Linking CXX shared module
qtbase/lib64/qt6/plugins/assetimporters/libassimp.t.so
Build succeeded, took 436.06s (1795% CPU usage)
tjmaciei@tjmaciei-ctnr ~/obj/qt/qt6-release $
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development