Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.1
-
None
-
Ubuntu Linux 16.04 x86_64, built with Clang 7.0 toolchain (with ASAN enabled).
Description
Please see the following test case, which runs successfully when built with Qt 5.9.3 but fails when built with Qt 5.11 (latest from git).
It seems that when the root component is loaded via QQmlComponent, and the object hierarchy contains a JS function binding which makes use a QML singleton type which was registered from C++, loading will fail with an error: "Type Testcase/Feedback unavailable: no matching type found, pragma Singleton files cannot be used by QQmlComponent".