Reply
Old 07-12-2011, 04:06 PM   #1 (permalink)
 
Status: Senior Member
Posts: 148

Send a message via ICQ to Briernfinee


Default using qt designer and running qmake on a mac.. pls help me!!

so im just learning how to program in qt so im a total beginner

i'm creating a dialog box so I used qt designer to create a gotocelldialog.ui file which i saved in some directory. I added a main.cpp file to the same directory which basically looks like this:


#include<QApplcation>
#include<QDialog>

#include "ui_gotocelldialog.h"

int main(int argc, char *argv[])
{
QApplication app(argc,argv);

Ui::GoToCellDialog ui;
QDialog *dialog = new QDialog;
ui.setupUi(dialog);
dialog->show();



return app.exec();
}
TILL HERE I'M GOOD.

now i know you're supposed to run qmake to create a .pro file and a makefile, and in turn generate my ui_gotocelldialog.h header file.
BUT i have know idea how to run qmake and do all of this!
So can someone please help me out! how do i run qmake to get my header file?

I'm using a mac
Briernfinee is offline   Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Qualifications for Graphics Designer/Game Designer? Rebecca Game Programmer 1 07-30-2013 10:07 PM
What is the difference between web designer and website designer, exactly? Adam Html Code/ Html Codes 3 06-25-2013 02:05 PM
Becoming a graphic designer/web designer with IT diploma? Zach Developer/ Developers 0 01-05-2013 02:05 AM
Sketchbook designer 2012 running slow? Unknown_User Programming 2 07-18-2012 11:07 AM
i am only 13 and iam a programmer and web designer photoshop designer , after effects but how can i get money? Unknown_User Programmer/ Programmers 1 12-18-2011 08:36 PM