I have both qt4 and qt5 on my Linux system. qt4 is used by default. What is a clean way to change that so that qmake uses qmake-qt5 by default?
Qt – Make qmake use qt5 by default
qmakeqtqt4qt5
qmakeqtqt4qt5
I have both qt4 and qt5 on my Linux system. qt4 is used by default. What is a clean way to change that so that qmake uses qmake-qt5 by default?
Best Answer
The system might have different meta packages that handle the default. For example on Debian there is a
qt4-default
and aqt5-default
package, installing one of them will uninstall the other and set the symlinks appropriately