QML build error - No documentation provided to explain it. HELP! "<Unknown File>: No matching type found, pragma Singleton files cannot be used by QQmlComponent."
-
What "Unknown File? It must have had something it was trying to reference. Did it just get tossed before the message was generated?
If a Singleton cannot be used by a QQmlComponent, how about some documentation explaining exactly what is the issue? This appears to be linking with a C++ library (as of course all of QML is), but what is the issue?
And please don't ask for a code sample as I'd have to give you the entire program, not mine to do, because QtCreator provides no details to find the issue.
Also, why does QtCreator frequently spin into a state (Windows 10) where it is sucking down 30% of the power usage of my i7, 32GB laptop even when no QML/Qt program is running and no typing is going on? The fan kicks on full-bore and this continues for 30 minutes or more. Quitting QtCreator hangs and has to be forcibly closed.
-
What "Unknown File? It must have had something it was trying to reference. Did it just get tossed before the message was generated?
If a Singleton cannot be used by a QQmlComponent, how about some documentation explaining exactly what is the issue? This appears to be linking with a C++ library (as of course all of QML is), but what is the issue?
And please don't ask for a code sample as I'd have to give you the entire program, not mine to do, because QtCreator provides no details to find the issue.
Also, why does QtCreator frequently spin into a state (Windows 10) where it is sucking down 30% of the power usage of my i7, 32GB laptop even when no QML/Qt program is running and no typing is going on? The fan kicks on full-bore and this continues for 30 minutes or more. Quitting QtCreator hangs and has to be forcibly closed.
@VFCraig I suggest to go to https://bugreports.qt.io/secure/Dashboard.jspa and file your issues as bug reports.
"And please don't ask for a code sample" - well, not sure how anybody can help if you do not even say what OS, what Qt version...
-
QML 5.15. Target is Linux, but I am working on Windows 10. Still, I'm working in QtCreator and this is a build error generated by the QtCreator build process. And the build is being done with minGW. Would expect consistency in this regard across platforms.
There is a ListView in this component/module, which from working through it and the many comments/posts I have seen is a problematic component with a host of quirks.