Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML build error - No documentation provided to explain it. HELP! "<Unknown File>: No matching type found, pragma Singleton files cannot be used by QQmlComponent."
Forum Update on Monday, May 27th 2025

QML build error - No documentation provided to explain it. HELP! "<Unknown File>: No matching type found, pragma Singleton files cannot be used by QQmlComponent."

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 406 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VFCraig
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • V VFCraig

      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.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VFCraig
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved