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 Live Preview Error
QtWS25 Last Chance

Qml Live Preview Error

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 693 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.
  • W Offline
    W Offline
    While_e
    wrote on last edited by
    #1
    This post is deleted!
    raven-worxR 1 Reply Last reply
    0
    • W While_e

      This post is deleted!

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @While_e
      did you follow this guide?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tim.Jenssen
        wrote on last edited by
        #3

        The preview does work with qrc because it replaces the internal urls on the fly.

        It has nothing to do with Qt QmlLive.

        Does it work with a very simple/new project for you?

        if run works also preview should work - it is using the qmldebug channel, so maybe try to debug your qml code - does that work?

        Create a bugreport if you can reproduce it.

        1 Reply Last reply
        1
        • W Offline
          W Offline
          While_e
          wrote on last edited by
          #4

          Thanks for the response. Yes, that's the exact guide I followed. Not much there to screw up really, just using qmake and make to build a QT project.

          I can indeed set breakpoints and debug qml code. However, when I try to create a new project in qmllivebench, it comes up with:

          QQmlComponent: Component is not ready
          <removed>/qml/views/main.qml:17: Type IdleWindow unavailable
          <removed>/qml/views/IdleWindow.qml:3: "qrc:/components": no such directory
          

          This runs fine when built/debugged, which is why I assumed QRC was the issue with qmllivebench. I'll poke around a bit more and see what I can find.

          Workspace Image

          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