LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Closed Thread
 
Search this Thread
Old 06-04-2010, 05:28 AM   #1
namus123
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Rep: Reputation: 0
problem with inclusion of qt header files


While installing qt sdk , it took path /opt/qtsdk-2010.02 and header files are in /opt/qtsdk-2010.02/qt/include/ ,
but inorder to include the headers should be in /usr/include/
so while including the #include<QObject> , creator is showing error(ie., underlined).

and I am using RHEL OS.
how to make this work?
 
Old 06-04-2010, 06:34 AM   #2
namus123
LQ Newbie
 
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
got it ..

modify the tools->options->Qt4->Qt versions --- > Manual
give the location of qmake executable .

in above case, the location will be /opt/qtsdk-2010.02/qt/bin/qmake .
By doing this it will automatically sync the libraries & include paths.

Now my programs are executing properly.
 
Old 06-04-2010, 08:19 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Duplicate thread reported; original is http://www.linuxquestions.org/questi...-files-812108/

EDIT: but the "original" has been closed as a duplicate of this one.

Last edited by catkin; 06-04-2010 at 08:20 AM.
 
Old 06-04-2010, 04:06 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with header files(.h) hoshangi Programming 6 01-09-2008 03:07 AM
For dynamic inclusion of files in a shell script patilvidya Linux - Newbie 1 05-18-2007 08:05 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 03:24 AM
Problem with C++ include/header files! Pisces107 Programming 12 12-24-2003 12:06 AM
automatic header inclusion rajorshi Programming 2 11-02-2003 03:29 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration