Results 1 to 4 of 4

Thread: Include path question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Sep 2009
    Posts
    140
    Thanks
    4
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Include path question

    You can use makefile variables in your .pro to specifiy your include path.
    INCLUDEPATH may be useful for you.

    Others are described there :
    http://qt.nokia.com/doc/4.5/qmake-va...reference.html

    Then you just need to include headers
    Qt Code:
    1. #include "mainwindow.h"
    To copy to clipboard, switch view to plain text mode 
    Last edited by scascio; 28th September 2009 at 13:17. Reason: formatting

  2. The following user says thank you to scascio for this useful post:

    MarkoSan (28th September 2009)

Similar Threads

  1. Include path confusion in Qt with Eclipse
    By PUK_999 in forum Installation and Deployment
    Replies: 0
    Last Post: 20th August 2009, 20:56
  2. segmentation fault on closing
    By harakiri in forum Qt Programming
    Replies: 6
    Last Post: 8th July 2009, 13:54
  3. qt #include question
    By marf in forum Newbie
    Replies: 1
    Last Post: 27th July 2008, 08:40
  4. Error: Using Multiple files
    By 3nc31 in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 09:23
  5. use button from another Window
    By raphaelf in forum Qt Programming
    Replies: 11
    Last Post: 2nd March 2006, 20:31

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
  •  
Qt is a trademark of The Qt Company.