Qt Forum - programming with C++ and Qt
Register Calendar Members List Team Members Search Frequently Asked Questions Go to the Main Page

Qt Forum - programming with C++ and Qt » QtForum.org » Qt » Qt Designer » Need help for Qt4 designer » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page Need help for Qt4 designer
Author
Post « Previous Thread | Next Thread »
freelancer.kiran
Assistant


Registration Date: 18.04.2008
Posts: 1

Level: 3 [?]
Experience: 29
Next Level: 54

25 points of experience needed for next level

Need help for Qt4 designer Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

I am new to Qt designer. I worked with Qt3 designer and after some googling I was able to generate .cpp file from the .ui file. To my surprise this does not work for Qt4 designer!!!!

Can anybody help me in generating .cpp file.

Also, is there any way to add menu / softmenu from Qt designer. If yes, please provide me the link or doc.

Thanks in advance,
freelancer.kiran@yahoo.com

This post has been edited 1 time(s), it was last edited by freelancer.kiran: 09.05.2008 09:06.

09.05.2008 09:04 freelancer.kiran is offline Send an Email to freelancer.kiran Search for Posts by freelancer.kiran Add freelancer.kiran to your Buddy List
Lesiok
Assistant


Registration Date: 10.10.2007
Posts: 4

Level: 9 [?]
Experience: 878
Next Level: 1,000

122 points of experience needed for next level

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Look at this
09.05.2008 14:26 Lesiok is offline Send an Email to Lesiok Search for Posts by Lesiok Add Lesiok to your Buddy List
alokraj
Coder


Registration Date: 05.05.2008
Posts: 12
Location: Bangalore

Level: 5 [?]
Experience: 134
Next Level: 173

39 points of experience needed for next level

RE: Need help for Qt4 designer Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi Kiran

Here is the procedure I follow

1. Design UI using QT Designer 4
2. qmake -project will create a .pro file
3. qmake <filename>.pro will create some more files
4. if you just give make, it ll generate header file, header file is nth but
description of ui created in form of C++ class
5. now you can write a .cpp file to do some action

CPP files are not genrated as far as I know.

Hope it helps!
Otherwise SORRY!

Alok

__________________
Thanks!
Alok
13.05.2008 13:14 alokraj is offline Send an Email to alokraj Search for Posts by alokraj Add alokraj to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
Qt Forum - programming with C++ and Qt » QtForum.org » Qt » Qt Designer » Need help for Qt4 designer

views today: 9.815 | views yesterday: 17.520 | total views: 10.243.184


Klebekork Shop - Linux Shop - Kontaktanzeigen - Linux Forum -  SMS Gewinnspiel -  Hotels -  Stadtpläne -  Branchenbuch & Stadtplan

Branchenbuch Österreich - Branchenbuch Niederlande - Portugal Branchenverzeichnis - Spanien Branchenverzeichnis 
Telefonbuch - Branchenbuch Frankreich