Results 1 to 2 of 2

Thread: problem in accessing qt header files

  1. #1
    Join Date
    May 2010
    Posts
    12
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default problem in accessing 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?

  2. #2
    Join Date
    May 2010
    Posts
    12
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: problem in accessing qt header files

    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.

Similar Threads

  1. Replies: 4
    Last Post: 1st May 2010, 14:02
  2. Replies: 12
    Last Post: 17th June 2009, 05:34
  3. header files problems
    By dognzhe in forum General Programming
    Replies: 1
    Last Post: 18th May 2009, 08:00
  4. header files not getting included
    By nimmyj in forum Installation and Deployment
    Replies: 1
    Last Post: 19th December 2006, 06:18
  5. qt3 themes example: missing header files?
    By nikita in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2006, 12:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.