[Interest] QT_HOST_LIBS qmake variable

Thiago Macieira thiago.macieira at intel.com
Thu Aug 28 18:42:12 CEST 2014

On Thursday 28 August 2014 06:24:36 Ramakanthreddy Kesireddy wrote:
> Hi,
> I cross compiled Qt5.3 with inbuilt yocto core image on Sabre AI target
> board. However, I find now in my environment, QT_HOST_LIBS show different
> path which is causing errors when I cross-compile my application.
> Though I tried to change the QT_HOST_LIBS variable using export, it is not
> getting changed using qmake -query
> Please let me know how can I change this qmake variable so that correct Qt
> library paths are picked.

QT_HOST_LIBS are used only inside Qt's own compilation.

If you're using it in your application, you're doing it wrong. Please stop 
using that variable.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list