core: allow qml scanner to detect namespaced and versioned imports

This commit is contained in:
outfoxxed 2025-07-10 04:28:05 -07:00
parent 6f774af11e
commit d7079b7524
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E

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 == '_')
{