Unsolved Qml Live Preview Error
This post is deleted!
raven-worx Moderators last edited by
did you follow this guide?
Tim.Jenssen last edited by
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.
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.