Important: Please read the Qt Code of Conduct -

[SOLVED] Referencing neighbouring QML types from QML file

  • With reference to the bug listed here:

    I downloaded the sample project 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 here:

    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.

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

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

Log in to reply