diff --git a/src/tools/qml2puppet/qml2puppet/instances/qt5nodeinstanceserver.cpp b/src/tools/qml2puppet/qml2puppet/instances/qt5nodeinstanceserver.cpp index a696fd45cea..e520079a5d1 100644 --- a/src/tools/qml2puppet/qml2puppet/instances/qt5nodeinstanceserver.cpp +++ b/src/tools/qml2puppet/qml2puppet/instances/qt5nodeinstanceserver.cpp @@ -248,7 +248,7 @@ void Qt5NodeInstanceServer::savePipelineCacheData() #endif } -void Qt5NodeInstanceServer::setPipelineCacheConfig(QQuickWindow *w) +void Qt5NodeInstanceServer::setPipelineCacheConfig([[maybe_unused]] QQuickWindow *w) { #if QT_VERSION >= QT_VERSION_CHECK(6, 5, 1) // This dummy file is not actually used for cache as we manage cache save/load ourselves, diff --git a/tests/unit/tests/mocks/projectstoragemock.cpp b/tests/unit/tests/mocks/projectstoragemock.cpp index 37384e48507..2c3a4a622ff 100644 --- a/tests/unit/tests/mocks/projectstoragemock.cpp +++ b/tests/unit/tests/mocks/projectstoragemock.cpp @@ -164,7 +164,7 @@ void ProjectStorageMock::setupQtQtuick() auto qtQuickModuleId = createModule("QtQuick"); auto qtQuickNativeModuleId = createModule("QtQuick-cppnative"); - auto intId = createType(qmlModuleId, "int", Storage::TypeTraits::Value); + createType(qmlModuleId, "int", Storage::TypeTraits::Value); auto qtObjectId = createObject(qmlModuleId, "QtObject", diff --git a/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp b/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp index c5f5ebd7326..d0dc04db402 100644 --- a/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp +++ b/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include