

Under Debian (.deb), it is qt5-qmake and under RedHat (RPM) it is qmake-qt5. Note that since Qt5, the name of the package with qmake has changed. You may want to check a different package if you need specific functionality. This should also work under Mac/OS and other Unix systems.Īnother method under Debian is to query with dpkg-query as in: That being said, under a Linux system we can simply use the following script to determine whether Qt is installed:Įcho "error: This script requires Qt to be installed." Many script depend on qmake being installed to check the Qt version which is why in most cases it get installed automatically.


Other architectures are likely to use different package names, but you certainly get a similar effect. Debian and Ubuntu use the qt5-default package which directly depends on qtchooser which includes qmake. Qmake is pretty much always installed whenever you install Qt. There are a few I use:īefore testing the version, you probably want to verify that Qt is installed. If you are still unable to resolve your issue, please.The Qt library version can be retrieved in all sorts of ways, using your command line or C++ code.Compile and install the libQtWebKit source package using the following instructions (Advanced Linux users only):.64-bit operating systems: yum install 32-bit operating systems: yum install Run the following command in Terminal (as root or with sudo) to install libQtWebKit directly from Fedora repositories.If not, proceed to the next step until the problem is resolved. Additional info: Attached is the yum command output.Ĭheck to see if the problem is resolved after each step. Expected results: qt5-qtwebkit has no broken dependencies an can be installed. Actual results: Current qt5-qtwebkit requires 'qt5-qtbase(x86-64) = 5.6.1' and 'qt5-qtdeclarative(x86-64) = 5.6.1' but the version installed on the system is qt5-qtbase-5.6.86_64 and qt5-qtdeclarative-5.6.86_64. Simply running 'yum install qt5-qtwebkit' is enough. Version-Release number of selected component (if applicable): qt5-qtwebkit-5.6.86_64 How reproducible: The bug affects Red Hat Enterprise Linux Server release 7.4 (Maipo) Current CentOS () is not affected due to the 7.4 packages have not reached yet the repositories. As far as I can tell, this is related to the now available qt5 packages on the rhel-7-server-rpms repository, which are newer than what the qt5-qtwebkit package in epel expects. Victor Schulz 12:08:08 EDT Created Output of 'yum install qt5-qtwebkit' Description of problem: When trying to install the qt5-qtwebkit package (in my particular case as a dependency of the nextcloud-client package), there are broken dependencies. Apparently, this repository is included with CentOS Extras, and should be enabled by default. It appears that the official CentOS PyQt4 packages don't include the QtWebKit module (not even in the latest release).
