LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-08-2006, 10:41 AM   #1
saneef
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Rep: Reputation: 0
Qt: Help needed in writing .pro file


i'm learning qt and i wrote a program.
its directory structure is as below

<root dir>
|
|-- include
| |-- main.h
| '-- texteditor.h
|
|-- src
| |-- main.cpp
| '-- texteditor.cpp
|
'--- texteditor.pro

Can anybody tell me, what will be the entries in .pro file for the qmake.
especially for include files.
 
Old 12-10-2006, 02:35 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Maybe something like
Code:
    HEADERS += include/main.h include/texteditor.h
    SOURCES += src/main.cpp src/texteditor.cpp
Qmake tutorial may help you in more complicated cases: http://doc.trolltech.com/4.1/qmake-tutorial.html
 
Old 12-11-2006, 12:43 AM   #3
saneef
LQ Newbie
 
Registered: Nov 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Mara, thanks for your reply.

I tried to make .pro file using 'qmake -project', then it worked.

thanks once again
 
  


Reply

Tags
qt



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
Driver writing help needed: oops-ing on r/w Alotau Programming 1 07-20-2005 09:49 AM
Help needed with writing a bootdisk.img to a USB pen rob_in_delft Linux - Newbie 1 09-17-2004 08:22 AM
Help needed in writing Awk Scripts.. TheDarktrooper Red Hat 1 05-04-2004 06:49 PM
needed xp laserjet 6L pro driver for mandrake anamika123 Linux - Hardware 1 05-03-2004 06:56 AM
needed for UDf packet writing VenimK Linux - Software 1 05-20-2002 11:37 AM

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

All times are GMT -5. The time now is 12:49 AM.

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