[Interest] Install both Qt5 and Qt4.7 at one Ubuntu

Jonathan Greig redteam316 at gmail.com
Mon Oct 7 12:30:11 CEST 2013


they should play nicely, look for qtchooser and use it to switch between
the two:

qtchooser -run-tool=qmake -qt=qt5
make




On Mon, Oct 7, 2013 at 5:06 AM, Mandeep Sandhu
<mandeepsandhu.chd at gmail.com>wrote:

> I think both Qt4 and 5 are there in the Ubuntu apt repos. Though I'm not
> sure if they'll play nice if _both_ are installed from apt (eg which qmake
> will be used?).
>
> Maybe you can install one of them directly (eg: by downloading Qt5
> pre-built binaries from qt-project.org) and the other one from apt.
>
> Basically you just need to use the right qmake for building your apps. Eg:
> you can have 'qmake5' point to the Qt5 qmake binary and use that for
> building Qt5 apps while 'qmake' uses the Qt4 binary.
>
> HTH,
> -mandeep
>
>
>
>
> On Mon, Oct 7, 2013 at 3:21 PM, Николай Шатохин <n.shatokhin at gmail.com>wrote:
>
>> Hello.
>>
>> I need Qt4.7 for developing apps for embedded systems and Qt5 for desktop
>> apps. Is it possible to install it both in Ubuntu 13.04 without conflicts?
>>
>> Best regards,
>> Nick
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131007/b2549311/attachment.html>


More information about the Interest mailing list