Results 1 to 7 of 7

Thread: How to get *.exe from *.ui generated by QtDesigner?

  1. #1
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Question How to get *.exe from *.ui generated by QtDesigner?

    i generated form and saved it as a *.ui file. now can any1 plz tel me further steps to get a *.exe file fm this on windows xp?
    i m using Qt 4 and visual c++ 6.0.

  2. #2
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to get the *.h and *.cpp from *.ui generated by QtDesigner?

    In order to compile.

    You first need to create a Qt pro file And then
    Add the ui file in the FORMS section of the profile

    Make a main.cpp add it to the sources section of the And then invoke qmake and make

    this video tutorial will help you
    http://www.trolltech.com/products/qt.../demos/browser
    We can't solve problems by using the same kind of thinking we used when we created them

  3. #3
    Join Date
    Dec 2006
    Posts
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: How to get *.exe from *.ui generated by QtDesigner?

    Hi sunil
    Is there any video , about 'How to use qt4 in Linux ' ?
    jin

  4. #4
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to get *.exe from *.ui generated by QtDesigner?

    The closest I could get is the video by wysota. http://wysota.eu.org/tutorials/tut_designer1.avi

    IIRC, It does not show the compilation.
    We can't solve problems by using the same kind of thinking we used when we created them

  5. #5
    Join Date
    Jan 2007
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to get *.exe from *.ui generated by QtDesigner?

    Good work,for posting this problem i also have the same problem.
    Can anyon show example to accomplish this.Why not write tutorial for it?

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to get *.exe from *.ui generated by QtDesigner?

    The procedure has been explained in the documentation of the Designer: Using a Component in Your Application.
    (Pay attention to the single and/or the multiple inheritance approach. The direct approach is not recommended.)

    You could also explore the demos and examples shipped with Qt. There are several applications that use either single or multiple inheritance approach.
    J-P Nurmi

  7. #7
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to get *.exe from *.ui generated by QtDesigner?

    Quote Originally Posted by overcast View Post
    Can anyon show example to accomplish this.Why not write tutorial for it?
    There is an old saying that goes, "When all else fails, read the documentation." So let me inform you about Qt's excellent documentation. You should have no problem after consulting them.

    There is an very good book about using Qt called "C++ GUI Programming with Qt 4". I highly recommend it. It even includes an appendix on building and installing Qt 4.

    Qt itself comes with very good documentation. This can be accessed online at http://doc.trolltech.com/4.2/index.html, or from Qt's included utility, Assistant.

Similar Threads

  1. Replies: 10
    Last Post: 27th November 2006, 19:37

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.