I am trying to run an application on CentOS-8 that is unable to find qt4 libraries, namely libQtCore.so.4. My PC has qt5 libraries, namely libQt5Core.so.5. How can I configure my Python 3.7 to look for the qt5 libraries instead of the qt4 libraries. Or, do I simply need to grab a newer version of Python?
do I simply need to grab a newer version of Python?
Installing a newer CPython version won’t affect anything in your case, since the interpreter doesn’t dictate application dependencies over what the application specifies.
CentOS-8 that is unable to find qt4 libraries, namely libQtCore.so.4. My PC has qt5 libraries
Qt supports multiple version installations on a single system. You can just try installing Qt4 for CentOS 8 which includes the required library libQtCore.so.4()(64bit). And refer to your application documentation page if there’s any environment variable involved to specify the qt4 path if it’s still unable to detect v4 library after installing.