Results 1 to 2 of 2

Thread: how to Change /usr/lib/ to LIB+=/home/mydir and INCLUDEPATH+=/home/mydir in .pro file

  1. #1

    Default how to Change /usr/lib/ to LIB+=/home/mydir and INCLUDEPATH+=/home/mydir in .pro file

    Hi All


    i need to change the /usr/lib/ to /myownpath ---->LIB+= PATH (LIB+=/home/mydir/) and INCLUDEPATH+= /my own path/

    can you guys please help me regarding the how to change path..if i change it will compile successfully..?

    Thanks

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

    Default Re: how to Change /usr/lib/ to LIB+=/home/mydir and INCLUDEPATH+=/home/mydir in .pro

    The way you ask your question does not really make sense.
    /usr/lib is a location on your file system, what do you mean by wanting to change IT to something else?
    in LIB you set paths where libraries are that your code depends on.
    In INCLUDPATH you specify locations where headers your code depends on are located.
    ==========================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.

Similar Threads

  1. Work from Home - C++/Qt programmer
    By loreen in forum Jobs
    Replies: 2
    Last Post: 18th October 2010, 16:02
  2. Qt Assistant Home button
    By vajindarladdad in forum Newbie
    Replies: 1
    Last Post: 1st October 2009, 13:06
  3. QTextBroxser : home() problem
    By Nyphel in forum Newbie
    Replies: 20
    Last Post: 25th May 2007, 12:30

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.