Results 1 to 2 of 2

Thread: how to make include in qt

  1. #1
    Join Date
    Oct 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default how to make include in qt

    hello,

    i tried to add header files (and cpp) to my project with #include,
    and it didn't find my files.
    where do i have to add the path which is connect to the include?

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to make include in qt

    Add the path to your .pro file, but you shouldn't be #include'ing cpp files.

Similar Threads

  1. segmentation fault on closing
    By harakiri in forum Qt Programming
    Replies: 6
    Last Post: 8th July 2009, 13:54
  2. Error: Using Multiple files
    By 3nc31 in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 09:23
  3. Painting problem
    By Mel in forum Qt Programming
    Replies: 10
    Last Post: 8th May 2007, 21:38
  4. Replies: 7
    Last Post: 2nd June 2006, 12:48
  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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.