← Back to team overview

ubuntu-phone team mailing list archive

Re: Qt5 with Qt 4.7 on Ubuntu 13.04. How to install it both without conflicts?

 

I don't see any qt4 package in repo. Do I need add some repositories?

Do I need to create another project for Qt 4.7? Is it possible to use the
same projects with different QML files and parameters in .pro file?


2013/7/30 Michael Zanetti <michael.zanetti@xxxxxxxxxxxxx>

> On Tuesday 30 July 2013 13:06:28 Николай Шатохин wrote:
> > Hello.
> >
> > I'm using Qt5 and need Qt 4.7 now (for porting my game to handheld game
> > console). Is it possible to install it additionally on Ubuntu 13.04?
>
> Yes. Just install the qt4 packages. They shouldn't conflict.
>
> Also, make sure to install qtchooser. You can select the default Qt
> version by
> installing either qt4-default or qt5-default.
>
> You can switch Qt version on the fly by exporting QT_SELECT=qt4 or
> QT_SELECT=qt5 before running qmake/cmake. This will override the default
> version for this terminal.
>
> Hope this helps,
> Michael
>

Follow ups

References