From d7079b75241c6e2b67f2429996fa7679ffc052e2 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Thu, 10 Jul 2025 04:28:05 -0700 Subject: [PATCH] core: allow qml scanner to detect namespaced and versioned imports --- src/core/scan.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/scan.cpp b/src/core/scan.cpp index 3f5e0923..a29ee59e 100644 --- a/src/core/scan.cpp +++ b/src/core/scan.cpp @@ -122,6 +122,7 @@ bool QmlScanner::scanQmlFile(const QString& path) { while (importCursor != line.length()) { auto c = line.at(importCursor); if (c == '.') c = '/'; + else if (c == ' ') break; else if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '_') {