×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2012
    Posts
    144

    qml file in resorces and QtCreator

    Hi

    how to make that QtCreator can see qml files, located in resources?

    for example:

    I have qrc file:
    <RCC>
    <qresource prefix="/qml">
    <file alias="CheckBox.qml">qmlcomponents/symbian/CheckBox.qml</file>
    </RCC>

    if I add

    import ":/qml"
    CheckBox {}

    the code will work but QtCreator complains on CheckBox: "unknown type"

    how to fix this? any workaround?

    Thanks

  2. #2
    Registered User
    Join Date
    Nov 2009
    Posts
    18

    Re: qml file in resorces and QtCreator

    Hello,

    Please go through the following discussion and check if it resolves your requirement.

    "http://qt-project.org/forums/viewthread/3030"

  3. #3
    Regular Contributor
    Join Date
    Mar 2012
    Posts
    144

    Re: qml file in resorces and QtCreator

    Hi

    thanks for the link but there is no issues with qml from my side - my application works like a charm
    the only problem that QtCreator cant resolve components, located in qrc

Similar Threads

  1. Debug .so file created with Boost.Python from QtCreator
    By dattanchu in forum [Archived] Qt SDKs and Tools
    Replies: 1
    Last Post: 2010-10-18, 09:55
  2. QtCreator Could not create file on device
    By Fillinger in forum [Archived] Qt SDKs and Tools
    Replies: 1
    Last Post: 2010-08-04, 15:49
  3. Creating Resorces File
    By royalsnn in forum Symbian
    Replies: 1
    Last Post: 2010-02-17, 15:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •