Results 1 to 13 of 13

Thread: qmake multiple INCLUDEPATH in Linux

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2007
    Location
    India/Bangalore
    Posts
    156
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    26
    Thanked 1 Time in 1 Post

    Thumbs up Re: qmake multiple INCLUDEPATH in Linux

    sorry I tried this options already

    I tried even

    qmake -project INCLUDEPATH+=../include ../interface

    qmake -project INCLUDEPATH+=../interface ../include

    and same options with 2 INCLUDEPATH

    For all cases it's taking only ../include

    I didn't get what is the problem here ? Is there any restriction like directoryname should include ..

    How its working in windows!?
    Thanks,
    Rajesh.S

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: qmake multiple INCLUDEPATH in Linux

    Which version of qmake you are using? It works fine for me with qmake 2.01 (Qt 4.3.2) under Linux.

  3. #3
    Join Date
    Jun 2007
    Location
    India/Bangalore
    Posts
    156
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    26
    Thanked 1 Time in 1 Post

    Default Re: qmake multiple INCLUDEPATH in Linux

    I am using Qt4.3.0 in Linux
    Thanks,
    Rajesh.S

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: qmake multiple INCLUDEPATH in Linux

    Try upgrading then.

  5. #5
    Join Date
    Jun 2007
    Location
    India/Bangalore
    Posts
    156
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    26
    Thanked 1 Time in 1 Post

    Thumbs up Re: qmake multiple INCLUDEPATH in Linux

    then is this problem with only Qt4.1?

    Ok i will upgrade and let you know..
    Thanks,
    Rajesh.S

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: qmake multiple INCLUDEPATH in Linux

    For me "qmake -v" outputs exactly the same version, 2.01a, for both Qt 4.3.0 and 4.3.2.

    Quote Originally Posted by rajeshs View Post
    I tried even

    qmake -project INCLUDEPATH+=../include ../interface

    qmake -project INCLUDEPATH+=../interface ../include
    Just to assure, these did actually have quotes around the include path part, right?
    J-P Nurmi

  7. #7
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: qmake multiple INCLUDEPATH in Linux

    Quote Originally Posted by rajeshs View Post
    I am using Qt4.3.0 in Linux
    Quote Originally Posted by rajeshs View Post
    then is this problem with only Qt4.1?
    So which one is it? There's quite a big difference between 4.1 and 4.3.
    J-P Nurmi

  8. #8
    Join Date
    Jun 2007
    Location
    India/Bangalore
    Posts
    156
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    26
    Thanked 1 Time in 1 Post

    Thumbs up Re: qmake multiple INCLUDEPATH in Linux

    sorry , I am wrong i am using 4.3.0 ..
    Thanks,
    Rajesh.S

Similar Threads

  1. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 06:57
  2. Using qmake to build multiple apps and libs
    By marchand in forum Newbie
    Replies: 2
    Last Post: 12th June 2006, 18:33
  3. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 06:23
  4. qmake INCLUDEPATH with spaces
    By bitChanger in forum Qt Programming
    Replies: 8
    Last Post: 28th April 2006, 06:39
  5. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 9th March 2006, 00:11

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.