Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


Closed Thread
  Search this Thread
Old 06-04-2010, 04:31 AM   #1
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, 04:54 AM   #2
Registered: Aug 2002
Posts: 14,742

Rep: Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476Reputation: 1476
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, 05:34 AM   #3
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 03:06 PM
problem with header files(.h) hoshangi Programming 6 01-09-2008 02:07 AM
For dynamic inclusion of files in a shell script patilvidya Linux - Newbie 1 05-18-2007 07:05 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
automatic header inclusion rajorshi Programming 2 11-02-2003 02:29 PM

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

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