Qrc:///accelbubble.qml:-1 File not found



  • I'm trying to compile the iOS example, accelbubble, and getting the following error:

    QFSFileEngine::open: No file name specified
    QQmlApplicationEngine failed to load component
    qrc:///accelbubble.qml:-1 File not found

    Anyone know how to fix this?



  • Okay, I tried to create my Xcode project in the accelbubble folder inside my Qt 5.2.0 iOS folder. Before I was copying the directory to my own Documents folder. So I'm now running the code in its install folder. So the error that I am now running is as follows:

    qrc:///accelbubble.qml:97:5: QML Image: Invalid image data: qrc:///content/Bluebubble.svg

    Any thoughts?



  • Different types of images are loaded using the plugin mechanism. Looks like you are missing the svg plugin in qt plugins directory. Install the appropriate svg plugin. It will be all set.



  • Nice thought, but I can run the SVG viewer sample without any issues. I would guess that the issue is related to QML since the call to the SVG file is in the QML file of the example. Now I should point out that I did a fresh install of Qt 5.2.0 using the online installer tool. So any issue that I may be having should be traceable back to the default installation.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.