From 2c4261e3078b82c42e8026376bb949a5ba353d03 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 13 Dec 2023 17:32:00 +0100 Subject: [PATCH] Wizards: Modernize some qbs project files The "import qbs" stanza has not been required for probably a decade now. Change-Id: I92aadc9fd7a95c3fddd38b8a1d86e473ce421b48 Reviewed-by: Christian Stenger --- share/qtcreator/templates/wizards/autotest/files/tst.qbs | 1 - share/qtcreator/templates/wizards/projects/consoleapp/file.qbs | 2 -- share/qtcreator/templates/wizards/projects/plainc/file.qbs | 2 -- share/qtcreator/templates/wizards/projects/plaincpp/file.qbs | 2 -- .../wizards/projects/qtquickapplication_compat/app.qbs | 2 -- 5 files changed, 9 deletions(-) diff --git a/share/qtcreator/templates/wizards/autotest/files/tst.qbs b/share/qtcreator/templates/wizards/autotest/files/tst.qbs index 990219a32f5..11342f079e1 100644 --- a/share/qtcreator/templates/wizards/autotest/files/tst.qbs +++ b/share/qtcreator/templates/wizards/autotest/files/tst.qbs @@ -1,4 +1,3 @@ -import qbs @if "%{TestFrameWork}" == "GTest" || "%{TestFrameWork}" == "GTest_dyn" import qbs.Environment import "googlecommon.js" as googleCommon diff --git a/share/qtcreator/templates/wizards/projects/consoleapp/file.qbs b/share/qtcreator/templates/wizards/projects/consoleapp/file.qbs index 6406f0cb013..4eab6620f69 100644 --- a/share/qtcreator/templates/wizards/projects/consoleapp/file.qbs +++ b/share/qtcreator/templates/wizards/projects/consoleapp/file.qbs @@ -1,5 +1,3 @@ -import qbs - QtApplication { cpp.defines: [ // You can make your code fail to compile if it uses deprecated APIs. diff --git a/share/qtcreator/templates/wizards/projects/plainc/file.qbs b/share/qtcreator/templates/wizards/projects/plainc/file.qbs index 0e9eb0288db..6bacda5f6ee 100644 --- a/share/qtcreator/templates/wizards/projects/plainc/file.qbs +++ b/share/qtcreator/templates/wizards/projects/plainc/file.qbs @@ -1,5 +1,3 @@ -import qbs - CppApplication { consoleApplication: true install: true diff --git a/share/qtcreator/templates/wizards/projects/plaincpp/file.qbs b/share/qtcreator/templates/wizards/projects/plaincpp/file.qbs index 6ce956cc6ee..5f9fba3597c 100644 --- a/share/qtcreator/templates/wizards/projects/plaincpp/file.qbs +++ b/share/qtcreator/templates/wizards/projects/plaincpp/file.qbs @@ -1,5 +1,3 @@ -import qbs - CppApplication { consoleApplication: true install: true diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication_compat/app.qbs b/share/qtcreator/templates/wizards/projects/qtquickapplication_compat/app.qbs index 14025b37b82..a4a461a9169 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickapplication_compat/app.qbs +++ b/share/qtcreator/templates/wizards/projects/qtquickapplication_compat/app.qbs @@ -1,5 +1,3 @@ -import qbs - CppApplication { @if "%{UseVirtualKeyboard}" == "true" Depends { name: "Qt"; submodules: ["quick", "virtualkeyboard"] }