Results 1 to 9 of 9

Thread: how to create .cpp file of designer

  1. #1
    Join Date
    Nov 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Windows

    Default how to create .cpp file of designer

    I am new to designer please tell me how to create .cpp file of designer

  2. #2
    Join Date
    Dec 2008
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to create .cpp file of designer

    well you don't need that . the designer generates a "ui" file, let's say you call it "form1.ui".
    when you compile the project, qmake automatically generates a file called "ui_form1.h" which has all the definitions you need.

  3. #3
    Join Date
    Nov 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to create .cpp file of designer

    qmake automatically generates a file called "ui_form1.h" is understood but u didn't say anything abt .cpp file.I need to do coding which can be done in .cpp file

  4. #4
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Red face Re: how to create .cpp file of designer

    when u run qmake -project and qmake file.pro that design say form.ui is convert as
    ui.form.h .... include "ui.form.h" in your .cpp program u are creating for the qt app and use the resources of designed tools by setupUi
    see examples in Qt ....

  5. #5
    Join Date
    Nov 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to create .cpp file of designer

    thanks for the help.ur name is indian.r u from mumbai?

  6. #6
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: how to create .cpp file of designer

    yes i am an indian and marati but working in bangalore

  7. #7
    Join Date
    Nov 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to create .cpp file of designer

    do u know anyone from mumbai who knows qt well.

  8. #8
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to create .cpp file of designer

    Quote Originally Posted by sh123 View Post
    do u know anyone from mumbai who knows qt well.
    sorry i dont know any one in mumbai who knows Qt ....

  9. #9
    Join Date
    Nov 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to create .cpp file of designer

    anyways thanks for the help

Similar Threads

  1. What is the best way to create a file management panel?
    By DIMEDROLL in forum Qt Programming
    Replies: 0
    Last Post: 24th September 2008, 08:49
  2. making qmake create VisualStudio console app project file?
    By akos.maroy in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 14:45
  3. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  4. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  5. create file in another directory
    By raphaelf in forum Qt Programming
    Replies: 3
    Last Post: 16th February 2006, 10:04

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.