core/qmljson: add support for synthesized .qml.json files

This commit is contained in:
outfoxxed 2025-05-18 20:39:48 -07:00
parent 6026c4ce27
commit 5193426cd7
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 112 additions and 18 deletions

View file

@ -30,7 +30,7 @@ EngineGeneration::EngineGeneration(const QDir& rootPath, QmlScanner scanner)
: rootPath(rootPath)
, scanner(std::move(scanner))
, urlInterceptor(this->rootPath)
, interceptNetFactory(this->scanner.qmldirIntercepts)
, interceptNetFactory(this->scanner.fileIntercepts)
, engine(new QQmlEngine()) {
g_generations.insert(this->engine, this);