You are here

Add new comment

Thanks for the prompt response! I was actually referring to a system where qt5 is default, but qt4 is also installed. Programs should still pick up the version they need; I don't particularly want to build anything against qt5 (/usr/lib/qt), I want to build against qt4 (/usr/lib/qt4) and that is why it fails.

In some cases both versions have their directories suffixed (e.g. /usr/lib/qt4 and /usr/lib/qt5) while in others either one is not (e.g. /usr/lib/qt can be 4 or 5). Yes, this is really qt-specific and, to some extent, distro-dependent as well. Just wondering whether there should be a cleaner way to handle this.