Results 1 to 5 of 5

Thread: [SOLVED] QT and pkg-config

  1. #1
    Join Date
    Feb 2008
    Beans
    785
    Distro
    Ubuntu 9.10 Karmic Koala

    [SOLVED] QT and pkg-config

    hello developers!

    I've installed the latest QT from source, now all the .pc files are installed in :
    /usr/local/Trolltech/Qt-4.3.4/lib/pkgconfig
    but thats not good, since whenever I use :
    pkg-config --list-all
    the QT is not listed, not I can get info for each and individual .pc file from the QT by going to its location, but I want it to be like the rest of the files, which are located :
    /usr/lib/pkgconfig
    I tough of just copying them to there, but I think there a some variables to change, which I dont know how.

  2. #2
    WW is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Oct 2004
    Beans
    1,532

    Re: QT and pkg-config

    You can add to the pkg-config search path with the environment variable PKG_CONFIG_PATH. E.g:
    PHP Code:
    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Trolltech/Qt-4.3.4/lib/pkgconfig 

  3. #3
    Join Date
    Nov 2007
    Location
    /dev/LONDON
    Beans
    324

    Re: QT and pkg-config

    or you could have changed the --prefix when installing!
    Ubuntu 10.4; Toshiba Satellite A300 laptop; 3GB DDR2 RAM; 160HDD; intel GM965 vga; Intel HD audio; intel wireless pro;

  4. #4
    Join Date
    Feb 2008
    Beans
    785
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: QT and pkg-config

    Thank you both!!

  5. #5
    Join Date
    Nov 2007
    Location
    /dev/LONDON
    Beans
    324

    Re: [SOLVED] QT and pkg-config

    did it work. if so how about closing the thread.
    Ubuntu 10.4; Toshiba Satellite A300 laptop; 3GB DDR2 RAM; 160HDD; intel GM965 vga; Intel HD audio; intel wireless pro;

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
  •