|
From: Bart V. A. <bar...@gm...> - 2008-07-30 10:03:43
|
On Wed, Jul 30, 2008 at 11:48 AM, Tom Hughes <to...@co...> wrote:
> In message <200...@ac...>
> Julian Seward <js...@ac...> wrote:
>
>> Also, what happens if I want to use a non-default Qt4, that is, one which
>> I build from source and pkg-config knows nothing about? What then?
>
> Then you set PKG_CONFIG_PATH to point at the directory with the .pc
> file for your build ;-)
Another approach is to pass the path to the non-default Qt4 through
the variables added by pkg-config to the configure script:
$ ./configure -h
...
QTCORE_CFLAGS
C compiler flags for QTCORE, overriding pkg-config
QTCORE_LIBS linker flags for QTCORE, overriding pkg-config
...
Bart.
|