diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp
index 5d0b739a94616b5d59a9b90d2b71605b47232f37..917e5b19cf678b4e85690446182e9ba19a41499f 100644
--- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp
+++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp
@@ -39,8 +39,8 @@ MyPlugin1::MyPlugin1()
 
 bool MyPlugin1::initialize(const QStringList &arguments, QString *errorString)
 {
-    Q_UNUSED(arguments);
-    Q_UNUSED(errorString);
+    Q_UNUSED(arguments)
+    Q_UNUSED(errorString)
     return true;
 }
 
diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp
index cfa8c81814860c8d2451feeff8779c6593a5ec00..5703033d5a00c8379486ff55eddb65dea9182f82 100644
--- a/src/plugins/fakevim/fakevimplugin.cpp
+++ b/src/plugins/fakevim/fakevimplugin.cpp
@@ -383,7 +383,7 @@ void FakeVimPluginPrivate::windowCommand(int key)
 
 void FakeVimPluginPrivate::find(bool reverse)
 {
-    Q_UNUSED(reverse);  // TODO: Creator needs an action for find in reverse.
+    Q_UNUSED(reverse)  // TODO: Creator needs an action for find in reverse.
     triggerAction(Find::Constants::FIND_IN_DOCUMENT);
 }
 
@@ -485,7 +485,7 @@ void FakeVimPluginPrivate::triggerCompletions()
 void FakeVimPluginPrivate::writeFile(bool *handled,
     const QString &fileName, const QString &contents)
 {
-    Q_UNUSED(contents);
+    Q_UNUSED(contents)
 
     FakeVimHandler *handler = qobject_cast<FakeVimHandler *>(sender());
     if (!handler)
@@ -684,8 +684,8 @@ FakeVimPlugin::~FakeVimPlugin()
 
 bool FakeVimPlugin::initialize(const QStringList &arguments, QString *errorMessage)
 {
-    Q_UNUSED(arguments);
-    Q_UNUSED(errorMessage);
+    Q_UNUSED(arguments)
+    Q_UNUSED(errorMessage)
     return d->initialize();
 }
 
diff --git a/src/plugins/texteditor/plaintexteditor.cpp b/src/plugins/texteditor/plaintexteditor.cpp
index dea5d72b5b6795c84c16213a8a281ac492b33577..bb32908e55ba3bd3649c8aabd66d872b55beec5d 100644
--- a/src/plugins/texteditor/plaintexteditor.cpp
+++ b/src/plugins/texteditor/plaintexteditor.cpp
@@ -96,7 +96,7 @@ const char *PlainTextEditorEditable::kind() const
 
 void PlainTextEditor::indentBlock(QTextDocument *doc, QTextBlock block, QChar typedChar)
 {
-    Q_UNUSED(typedChar);
+    Q_UNUSED(typedChar)
 
     // At beginning: Leave as is.
     if (block == doc->begin())
diff --git a/src/shared/scriptwrapper/interface_wrap_helpers.h b/src/shared/scriptwrapper/interface_wrap_helpers.h
index 284e34e26ca4304a92d92c7a27a219809042a282..1075d316af0e8327b79304fbd59ce639478753ea 100644
--- a/src/shared/scriptwrapper/interface_wrap_helpers.h
+++ b/src/shared/scriptwrapper/interface_wrap_helpers.h
@@ -80,7 +80,7 @@ static void registerQObjectInterface(QScriptEngine &engine)
         qObjectInterfaceToScriptValue<QObjectInterface>,
         scriptValueToQObjectInterface<QObjectInterface>,
         scriptProtoType);
-    Q_UNUSED(metaTypeId);
+    Q_UNUSED(metaTypeId)
 }
 
 } // namespace SharedTools