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. [SOLVED] Referencing neighbouring QML types from QML file

[SOLVED] Referencing neighbouring QML types from QML file

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 1 Posters 1.0k 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.
  • T Offline
    T Offline
    teemo10
    wrote on last edited by
    #1

    With reference to the bug listed here: https://bugreports.qt-project.org/browse/QTBUG-26417

    I downloaded the sample project resourceBug.zip and fixed it as instructed in the first comment ("I think the example should be changed to specify the URL 'qrc:/qml/main.qml', which will work correctly"). However I am still getting the same error: MyType is not a type.

    I uploaded resourceBugFixed.zip here: http://www.qfpost.com/file/d?g=DAjKRNjbx

    Can someone please help me get rid of the error. I am running in the exact same issue in my own app. Oddly, the original poster says applying the fix corrects things, which it doesn't for me. Running Qt 5.1.0 with msvc2010 and Qt Creator 2.7.2 on a win 8 pro 64bit machine.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      teemo10
      wrote on last edited by
      #2

      I'd really appreciate any guru's look into this. Its a quick 4kB project. Would be much appreciated. :)

      1 Reply Last reply
      0
      • T Offline
        T Offline
        teemo10
        wrote on last edited by
        #3

        As per my comment on the bug page. My mistake. Simply missing an initial '/'.

        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