LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Closed Thread
 
Search this Thread
Old 06-04-2010, 05:31 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, 05:54 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,049

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
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.
 
Old 06-04-2010, 06:34 AM   #3
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.
 
  


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 inclusion of qt header files namus123 Linux - Desktop 3 06-04-2010 04:06 PM
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
automatic header inclusion rajorshi Programming 2 11-02-2003 03:29 PM


All times are GMT -5. The time now is 03:12 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