Results 1 to 3 of 3

Thread: 'Hello world' question

  1. #1

    Default 'Hello world' question

    Hi,
    I'm getting familiar with the Qt "hello world".

    I do not understand the line
    Qt Code:
    1. #include "ui_mainwindow.h"
    To copy to clipboard, switch view to plain text mode 
    .
    If the file ui_mainwindow.h does not exist how can it be included?

  2. #2
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Thanks
    3
    Thanked 65 Times in 59 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: 'Hello world' question

    It does (supposing you have created mainwindow.ui in your Designer and declared it in the FORMS directive in your .pro file), don't worry. It'll be created by qmake during building your app.

  3. #3

    Default Re: 'Hello world' question

    Oh it is created during compilation time then. Thanks!

Similar Threads

  1. Complete newbie hello world question!
    By adamsp303 in forum Newbie
    Replies: 3
    Last Post: 27th January 2013, 21:31
  2. Hello World program 5 MB!
    By Yes in forum Qt-based Software
    Replies: 2
    Last Post: 8th November 2011, 11:24
  3. Who will be at Nokia World?
    By tamhanna in forum General Discussion
    Replies: 0
    Last Post: 17th October 2011, 23:35
  4. Hello Mysql World
    By thevikas in forum Newbie
    Replies: 2
    Last Post: 8th July 2010, 04:31
  5. simple hello world question
    By chap19150 in forum Qt Programming
    Replies: 12
    Last Post: 11th July 2006, 19:42

Tags for this Thread

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.