Results 1 to 5 of 5

Thread: find bin, lib and include locations

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

    Default find bin, lib and include locations

    Hi! Is there a way (some executable) to find out the location of lib and includes of QT installation?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: find bin, lib and include locations

    you can always run configure.exe, it will list the current built configuration.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

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

    Default Re: find bin, lib and include locations

    bash Code:
    1. jpnurmi@jaber:~$ qmake -query QT_INSTALL_LIBS
    2. /usr/local/Trolltech/Qt-4.5.3/lib
    3. jpnurmi@jaber:~$ qmake -query QT_INSTALL_HEADERS
    4. /usr/local/Trolltech/Qt-4.5.3/include
    To copy to clipboard, switch view to plain text mode 

    You can refer the variables within .pro files as $$[QT_INSTALL_LIBS] and so on. See [wiki]undocumented qmake[/wiki] for more info.
    J-P Nurmi

  4. The following user says thank you to jpn for this useful post:

    Adrian Sevcenco (16th October 2009)

  5. #4
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: find bin, lib and include locations

    Thanks a lot!

  6. #5
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: find bin, lib and include locations

    If you need to know inside an application use QLibraryInfo.

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.