Sunday, July 6th 2008, 3:34pm UTC+1

You are not logged in.

  • Login
  • Register

1

Friday, May 9th 2008, 8:04am

Need help for Qt4 designer

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 times, last edit by "freelancer.kiran" (May 9th 2008, 8:06am)

  • Go to the top of the page

2

Friday, May 9th 2008, 1:26pm

  • Go to the top of the page

alokraj

Beginner

Posts: 12

Location: Bangalore

3

Tuesday, May 13th 2008, 12:14pm

RE: Need help for Qt4 designer

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
  • Go to the top of the page

Rate this thread