LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   problem with inclusion of qt header files (https://www.linuxquestions.org/questions/linux-mobile-81/problem-with-inclusion-of-qt-header-files-812108/)

namus123 06-04-2010 04:31 AM

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?

michaelk 06-04-2010 04:54 AM

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.

namus123 06-04-2010 05:34 AM

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.


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