PKG_CONFIG_PATH

Erik de Castro Lopo mle+tools at mega-nerd.com
Tue Apr 28 00:46:59 PDT 2009


Anne saadi wrote:

> We would like compile QT 4.5 library for ARM9 using PKG_CONFIG_PATH ?

Why do you think you need PKG_CONFIG_PATH to *compile* QT?

I've got a couple of blog posts explaining how to use pkg-config
for cross compiling:

    http://www.mega-nerd.com/erikd/Blog/CodeHacking/MinGWCross/pkg-config.html
    http://www.mega-nerd.com/erikd/Blog/CodeHacking/MinGWCross/cross_compiling.html
    http://www.mega-nerd.com/erikd/Blog/CodeHacking/MinGWCross/cross_compiling_2.html

> Could you send us an example of a .pc configuration file for QT and how 
> to tell pkg-config to use it ?

You should never write your own .pc file unless you are writing one
for a library that you write or for a library that doesn't have one.
 
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the pkg-config mailing list