From 9f63aeb781a1b0c11f978701dcf203859e7bd869 Mon Sep 17 00:00:00 2001 From: Artem Sokolovskii Date: Wed, 23 Mar 2022 10:36:02 +0100 Subject: [PATCH] Wizard: Remove warning Fix misspelling Fixes: QTCREATORBUG-27220 Change-Id: I279ec8982a23aecae099e0062c77e7f1128beb71 Reviewed-by: Reviewed-by: Alessandro Portale --- .../wizards/projects/qtquick2-extension/example/example.cpp | 2 +- .../example/{example.qml => example.qml.tpl} | 0 .../qtquick2-extension/{object.qml => object.qml.tpl} | 0 .../templates/wizards/projects/qtquick2-extension/wizard.json | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename share/qtcreator/templates/wizards/projects/qtquick2-extension/example/{example.qml => example.qml.tpl} (100%) rename share/qtcreator/templates/wizards/projects/qtquick2-extension/{object.qml => object.qml.tpl} (100%) diff --git a/share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.cpp b/share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.cpp index 70a4b10b1cd..b7b83acf554 100644 --- a/share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.cpp +++ b/share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.cpp @@ -10,7 +10,7 @@ int main(int argc, char *argv[]) QQmlApplicationEngine engine; // The first subfolder is the libraryName followed by the regular - // folder structure: LibararyName/Subfolder + // folder structure: LibraryName/Subfolder const QUrl url(u"qrc:/ExampleProjectApp/example/example.qml"_qs); QObject::connect(&engine, &QQmlApplicationEngine::objectCreated, &app, [url](QObject *obj, const QUrl &objUrl) { diff --git a/share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.qml b/share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.qml.tpl similarity index 100% rename from share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.qml rename to share/qtcreator/templates/wizards/projects/qtquick2-extension/example/example.qml.tpl diff --git a/share/qtcreator/templates/wizards/projects/qtquick2-extension/object.qml b/share/qtcreator/templates/wizards/projects/qtquick2-extension/object.qml.tpl similarity index 100% rename from share/qtcreator/templates/wizards/projects/qtquick2-extension/object.qml rename to share/qtcreator/templates/wizards/projects/qtquick2-extension/object.qml.tpl diff --git a/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json b/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json index 650a2963b8e..0164a9f3d57 100644 --- a/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json @@ -227,7 +227,7 @@ "target": "%{ObjectHdr}" }, { - "source": "object.qml", + "source": "object.qml.tpl", "target": "%{ObjectQml}" }, { @@ -236,7 +236,7 @@ "condition": "%{JS: value('CreateExampleProject')}" }, { - "source": "example/example.qml", + "source": "example/example.qml.tpl", "target": "example/example.qml", "condition": "%{JS: value('CreateExampleProject')}" },