Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.11.0 Beta 1
-
Fix Version/s: 5.11.0 Beta 3
-
Component/s: QML: Compiler
-
Labels:None
-
Environment:Visual Studio 2017 x64
Description
I am getting unresolved references when using "Q_CLEANUP_RESOURCE(ResourceName);" after adding CONFIG += qtquickcompiler to my .pro after updating to 5.11.0 beta.
If I have a look at qmlcache_loader.cpp it contains the following code:
int QT_MANGLE_NAMESPACE(qInitResources_ResourceName)() { ::unitRegistry(); Q_INIT_RESOURCE(ResourceName_qmlcache); return 1; } Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_ResourceName));
But does not contain a similar definition for qCleanupResources_