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. QQmlComponent: Component is not ready... but which one?
Forum Update on Monday, May 27th 2025

QQmlComponent: Component is not ready... but which one?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 2.5k 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.
  • SeeLookS Offline
    SeeLookS Offline
    SeeLook
    wrote on last edited by SeeLook
    #1

    Hi,

    I've just found:
    QQmlComponent: Component is not ready
    but I can't find from where it is invoked.
    (The app is big, doesn't crash with that and I can't see what is missing)

    Is there any way to catch it more precisely?

    1 Reply Last reply
    0
    • Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @SeeLook you may want to take a look at this post, this post also as they might apply to your problem

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2
      • SeeLookS Offline
        SeeLookS Offline
        SeeLook
        wrote on last edited by
        #3

        Ok, thanks for clue.
        I found a reason of my trouble - rather trivial (I moved QML file to a directory and didn't change all calls to it when that component was dynamically created)

        Anyway, it would be nice from QML engine if it could throw i.e.:
        QQmlComponent: Component is not ready due to file XYZ.qml was not found
        or any useful info about the error, without handling every dynamic call manually.

        JKSHJ 1 Reply Last reply
        0
        • SeeLookS SeeLook

          Ok, thanks for clue.
          I found a reason of my trouble - rather trivial (I moved QML file to a directory and didn't change all calls to it when that component was dynamically created)

          Anyway, it would be nice from QML engine if it could throw i.e.:
          QQmlComponent: Component is not ready due to file XYZ.qml was not found
          or any useful info about the error, without handling every dynamic call manually.

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @SeeLook said in QQmlComponent: Component is not ready... but which one?:

          Anyway, it would be nice from QML engine if it could throw i.e.:
          QQmlComponent: Component is not ready due to file XYZ.qml was not found
          or any useful info about the error

          Good idea. Please post a request for this feature at https://bugreports.qt.io/, thanks!

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          1

          • Login

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