diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-03-04 10:44:12 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-03-04 11:56:25 +0100 |
| commit | 3f6823aee9d04f9e67a0815a576310b9ec782eb7 (patch) | |
| tree | d999ef91c0513f106d6fb0e408fb7d148cb8de9e /src/qmlcompiler/qqmljsimportvisitor.cpp | |
| parent | e30b80657e2d90e74f1f36acf4d08fe78cf226a4 (diff) | |
CMake: Add Qt::QmlPrivate to the QmlCore module
Due to 3b0dab39d047cfc676a75915ce606cbd4d43a83d , qml modules are no
longer automatically linking to QmlPrivate. That means QmlPrivate
include paths are not passed to moc for the QmlCore module.
The qqmlpermissions_p.h file includes the private/qqmlglobal_p.h
header which is part of QmlPrivate. Due to the missing include path,
moc will silently fail to resolve the file, which leads to missing
type information.
Explicitly link to QmlPrivate for the QmlCore module, to ensure the
relevant include paths are passed.
Pick-to: 6.8 6.9
Fixes: QTBUG-134274
Change-Id: Iec9888988b6dc50dfd62d0b6c55ea3cbd289953b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsimportvisitor.cpp')
0 files changed, 0 insertions, 0 deletions
