[Interest] qmake option to find qt library location

Tomasz Olszak olszak.tomasz at gmail.com
Thu Apr 10 11:17:40 CEST 2014


> qmake -v gives the below output:
>
>
>
> QMake version 3.0
>
> Using Qt version 5.0.2 in /usr/lib/x86_64-linux-gnu
>
>
>
> But is there a qmake option or any other mechanism which can directly give
> the value "/usr/lib/x86_64-linux-gnu", otherwise I need to run qmake -v and
> parse for the path.
>
As Thiago already pointed out - just run:
$> qmake -query

output is rather self explanatory (you can find information of each
qmake internal variable in docs)

-- 
regards,
Tomasz Olszak



More information about the Interest mailing list