From 6c217b0ff4eb0874ce71e5d332a71d90dce5d90e Mon Sep 17 00:00:00 2001 From: Wael Karman Date: Wed, 17 Jul 2024 15:45:36 +0200 Subject: [PATCH] fix: improve import filter by adding a space after the import statement --- src/Deploy/src/qmlqt6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Deploy/src/qmlqt6.cpp b/src/Deploy/src/qmlqt6.cpp index 56c3ec04..545e8afc 100644 --- a/src/Deploy/src/qmlqt6.cpp +++ b/src/Deploy/src/qmlqt6.cpp @@ -47,7 +47,7 @@ QStringList QMLQt6::extractImportsFromFile(const QString &filepath) const { { word = word.simplified(); if (word.startsWith("//")) continue; - if (!word.startsWith("import")) continue; + if (!word.startsWith("import ")) continue; imports += extractImportLine(word); }