Hello,<div><br></div><div>I'm working on an application written using KDE 4.10 and Qt4.8. I'm mostly using KDE for the just UI, but since I am using Ubuntu and targeting Ubuntu (not KDE or Kubuntu) I am considering switching to Qt5 and the Ubuntu SDK once it becomes more stable and usable on the desktop, not just touch devices.</div><div><br></div><div>Because of that, I'd like to try experimenting with Qt5 and the Ubuntu SDK. However, is it possible to install Qt5 in addition to Qt4 and the KDE development stuff? I assume it would be fine for running a pre-built application, and all the normal KDE apps and stuff would be fine, but will the combination work correctly when I try to build my KDE app? I'm asking this because I tried installing Unity Next after reading about it on omgubuntu.co.uk, and was unable to compile my KDE app due to it finding Qt5 instead of Qt4.</div><div><br></div><div>While researching this, I came across a note on the canonical-qt5-edgers PPA [1] that said:</div><div><br></div><div>1. Qt4 and Qt5 are co-installable with the migration to the new qtchooser tool. The previous Debian/Ubuntu approach relied on renaming binaries and using alternatives. When packaging against Qt5, set environment variable QT_SELECT=qt5 or include a package dependency to qt5-default in the packaging. See man qtchooser for more information.</div><div><br></div><div>So if I set QT_SELECT to qt4 when I want to build my KDE app, and change it back to qt5 when tinkering with the Ubuntu SDK, will this be sufficent?</div><div><br></div><div>[1] <a href="https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-proper">https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-proper</a></div><div><br></div><div>Thank you,</div><div>Michael Spencer</div>