Results 1 to 4 of 4

Thread: Creating new Qt Quick Application

  1. #1
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Creating new Qt Quick Application

    Hi,

    I am trying to create Qt Quick Application using Qt 5.3, why it didn't create a QML folder (with red qml text on icon) automatically? Am i missing some configuration here? I am asking this because I want to put all my qml files in that directory.

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Creating new Qt Quick Application

    So create that directory yourself.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Creating new Qt Quick Application

    Quote Originally Posted by wysota View Post
    So create that directory yourself.
    Thank you for your quick response.

    I finally able to do it!


    Added after 55 minutes:


    wysota, just a quick question:

    should all qml files be added into qml.qrc? TIA.
    Last edited by joko; 12th November 2014 at 17:48.

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Creating new Qt Quick Application

    Quote Originally Posted by joko View Post
    should all qml files be added into qml.qrc? TIA.
    If you want to load them from the built-in resource instead of the file system.

    Obviously means you have to rebuild the application when you change some QML file.

    Cheers,
    _

Similar Threads

  1. Hide Title bar in Qt Quick Application
    By nikhil.patil2010 in forum Newbie
    Replies: 2
    Last Post: 17th March 2014, 11:35
  2. Replies: 20
    Last Post: 3rd February 2013, 19:07
  3. Quick application (Qa)
    By tilsitt in forum Qt-based Software
    Replies: 1
    Last Post: 7th April 2011, 14:45
  4. Problem with building Qt quick application
    By Taspa in forum Qt Quick
    Replies: 2
    Last Post: 1st December 2010, 00:03
  5. Replies: 3
    Last Post: 6th March 2007, 19:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.