[Development] Qt 6 co-installability with Qt 5

Joerg Bornemann joerg.bornemann at qt.io
Wed Nov 18 10:02:53 CET 2020


On 11/18/20 12:49 AM, Lisandro Damián Nicanor Pérez Meyer wrote:

>> You need to have a host Qt installed, including qmake.
>> The cross-built Qt's qmake is a wrapper script that calls the host Qt's
>> qmake and passes a qt.conf file, adjusting qmake's properties.
>> This wrapper script in the cross-built Qt is currently named "qmake" and
>> currently lives in $prefix/bin.
> 
> Sounds like $prefix/bin/qmake6 is feasible, even maybe *always* a
> script that calls the host's qmake installed in $bindir except when
> passed the right qt.conf file. Would that work? That would also mean
> avoiding installing the real qmake in $prefix/bin and it's prefix.

$prefix/bin/qmake6 can also be a wrapper script, sure.
What would be the advantage of not installing the actual qmake binary there?


Cheers,

Joerg


More information about the Development mailing list