core: allow qml scanner to detect namespaced and versioned imports

This commit is contained in:
outfoxxed committed 2025-07-10 04:28:05 -07:00
1 parent 6f774af11e
commit d7079b7524
1 file changed
+1
+1
View File
@@ -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 == '_')
{