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? |
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.
|
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. |