Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    QML and Qt Quick
    3
    4
    2175
    Loading More Posts
    • 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.
    • SeeLook
      SeeLook last edited by SeeLook

      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 Reply Quote 0
      • Pablo J. Rogina
        Pablo J. Rogina last edited by

        @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 Reply Quote 2
        • SeeLook
          SeeLook last edited by

          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.

          JKSH 1 Reply Last reply Reply Quote 0
          • JKSH
            JKSH Moderators @SeeLook last edited by

            @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 Reply Quote 1
            • First post
              Last post