Results 1 to 3 of 3

Thread: Minimal required files for creating a simple Qt Quick project

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2014
    Location
    Germany
    Posts
    69
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android
    Thanks
    1

    Default Re: Minimal required files for creating a simple Qt Quick project

    Hi and thank you for your reply!
    Well, I just changed the relative paths using absolute ones, but there is still nothing happening. I never had this problems you describe when building projects, so the error is maybe somewhere else...

    Did you test the code on your system and it works? That would help me much to know that, because then I really have to check my QtCreator settings or create a resource file...


    [EDIT]
    I found my problem! When using a rectangle as basic element, I have to use QQuickView to load the QML file and show it manually. Otherwise I have to create a basic Window/ApplicationWindow in the QML file and load it like I did above using QQmlApplicationEngine...

    I hope this helps other desperate newbies with the same problem :-P

    Greetings
    Last edited by Binary91; 21st December 2014 at 12:27.

Similar Threads

  1. Replies: 4
    Last Post: 10th October 2014, 16:10
  2. QT minimal Glut code - no library linking required
    By rucs_hack in forum Qt Programming
    Replies: 5
    Last Post: 3rd October 2013, 09:30
  3. Creating sis files for C project Using QtCreator
    By mathi in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 3rd April 2012, 12:51
  4. Replies: 0
    Last Post: 28th April 2011, 08:27
  5. Replies: 1
    Last Post: 24th October 2009, 16:11

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
  •  
Qt is a trademark of The Qt Company.