LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-11-2003, 07:42 PM   #1
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
qt qmake


i just started qt programming after finishing the first tutorial i run(as the tutorial said)
qmake -project
qmake
then it created a make file to my programme which is in main.cpp
then i run make and it said it could not find the include files
<qapplication.h>
<qpushbutton.h>
i know they are installed check with locate
how can i solve this problem and this is the code that i am trying to compile

/****************************************************************
**
** Qt tutorial 1
**
****************************************************************/

#include <qapplication.h>
#include <qpushbutton.h>


int main( int argc, char **argv )
{
QApplication a( argc, argv );

QPushButton hello( "Hello world!", 0 );
hello.resize( 100, 30 );

a.setMainWidget( &hello );
hello.show();
return a.exec();
}
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to get qmake for SuSE 10 KimVette SUSE / openSUSE 2 11-14-2005 10:03 AM
qmake Jongi SUSE / openSUSE 1 10-30-2005 02:05 AM
qmake not found ??? rooman Linux - General 0 11-01-2004 05:04 AM
Qmake Question sganarelle Slackware 2 08-14-2004 05:05 PM
qt3 qmake ofada Programming 6 06-22-2004 12:10 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration