Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qrc:///accelbubble.qml:-1 File not found
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.2k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    drhalftone
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      drhalftone
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        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.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        0
        • D Offline
          D Offline
          drhalftone
          wrote on last edited by
          #4

          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.

          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