Thank yoy Jacek.

The approach is very good!

However, it seems that the qmake ignores the "QMAKESPEC=linux-g++-32" or "QMAKESPEC=linux-g++-64" setting.

It builds 32-bit in both cases, ignoring the QMAKESPEC setting. Can we set the QMAKESPEC inside the pro file?

Thanks

lni