[Development] [Android] Use pkg-config to link with external libraries in qmake project

Oswald Buddenhagen oswald.buddenhagen at qt.io
Wed Dec 20 11:53:07 CET 2017


On Wed, Dec 20, 2017 at 01:03:30PM +0300, Denis Shienkov wrote:
>    c:/Android/gstreamer/armv7c:/Android/gstreamer/armv7/include/gstreamer-1.0
> 
i really wouldn't expect this to work. ;)

the problems seems to be that pkg-config outputs the paths in a format
that cannot be possibly understood by the compiler. that's a bug in the
.pc files or pkg-config itself, i'd guess.

>    But, if I try to output message from my *.pro file:
> 
>    message("blaaaaaaaaaaaaa $$INCLUDEPATH")
> 
>    then I see an empty content of INCLUDEPATH...
> 
>    What happens?
> 
execution order happens. ;)




More information about the Development mailing list