From f9bf03b9bf664ad8d8f9a6ef387b1523bd227392 Mon Sep 17 00:00:00 2001 From: Burak Hancerli <burak.hancerli@qt.io> Date: Mon, 12 Feb 2024 11:07:42 +0100 Subject: [PATCH] fix: wrong warning when the project is based on Qt6 --- src/projectManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/projectManager.cpp b/src/projectManager.cpp index f7cf843..f479b48 100644 --- a/src/projectManager.cpp +++ b/src/projectManager.cpp @@ -220,7 +220,7 @@ bool ProjectManager::runProject(const QString &projectPath) } const QStringList importPaths = getImportPaths(projectPath, qmlProjectFileContent); - if (isQt6Project(qmlProjectFileContent)) { + if (!isQt6Project(qmlProjectFileContent)) { qWarning() << "This is not a Qt6 project.\nQt5 projects might work, but they are not " "officially supported."; } -- GitLab