← 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?

 

Wait... Do you want to run Qt4 on Ubuntu Touch? That won't work because Qt4 
requires X11 on linux based platforms which we don't have on the phone.


On Tuesday 30 July 2013 13:35:53 Николай Шатохин wrote:
> 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



References