Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.15.7, 6.3.1, 6.4.0 Beta2
-
None
Description
If two projects specified in SUBDIRS and the projects have different sets of qml files, the projects can't be built:
:-1: error: debug/qmlcache_loader.o: in function `qInitResources_one()': \debug\qmlcache_loader.cpp:53: error: undefined reference to `qInitResources_one_qmlcache()' :-1: error: debug/qmlcache_loader.o: in function `qCleanupResources_one()': \debug\qmlcache_loader.cpp:58: error: undefined reference to `qCleanupResources_one_qmlcache()' :-1: error: debug/qmlcache_loader.o:qmlcache_loader.cpp:(.rdata+0x60): undefined reference to `QmlCacheGeneratedCode::_0x5f__one_qml::qmlData' :-1: error: debug/qmlcache_loader.o:qmlcache_loader.cpp:(.rdata+0x68): undefined reference to `QmlCacheGeneratedCode::_0x5f__one_qml::aotBuiltFunctions' :-1: error: collect2.exe: error: ld returned 1 exit status :-1: error: [Makefile.hellotr_two.Debug:72: debug/hellotr_two.exe] Error 1
To reproduce run and build hellotr.pro from the attached example.
Attachments
Issue Links
- relates to
-
QTBUG-108017 Build fails for two subprojects with qtquickcompiler enabled
- Reported
- resulted from
-
QTBUG-105142 qtquickcompiler can't be disabled in *.pro
- Closed