Important: Please read the Qt Code of Conduct -

Please help with installing qt5 in centos 7

  • I have 2 python versions, python3.6 is installed on virtualenv for development use, I am trying to install PyQt and Qt packages for use with python3.6 only,

    I have installed PyQt5 using sudo pip3.6 install pyqt5 , The instruction I was following says that Qt is included with PyQt5, Also in pyqt5 package in /usr/lib64/python3.6/site-packages/PyQt5 I see the Qt folder inside, But when I put qmake --version to check the qt version it gives me the following error:

    qmake --version
    bash: qmake: command not found...
    Similar command is: 'make'

    When using:

    make --version

    It gives the following:

    GNU Make 3.82
    Built for x86_64-redhat-linux-gnu
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.


    rpm -ql qt

    gives the following:

    package qt is not installed

    when I put sudo pip3.6 install qt5 to reinstall it, it gives me the following error " ```

    Could not find a version that satisfies the requirement qt5 (from versions: ) No matching distribution found for qt5"

    When I use yum install qt5:

    Loaded plugins: fastestmirror, langpacks base
    | 3.6 kB 00:00 epel/x86_64/metalink
    | 24 kB 00:00 epel
    | 4.3 kB 00:00 extras
    | 3.4 kB 00:00 ius
    | 2.3 kB 00:00 updates
    | 3.4 kB 00:00 (1/3): ius/x86_64/primary_db
    | 206 kB 00:00 (2/3): epel/x86_64/updateinfo
    | 806 kB 00:01 (3/3): epel/x86_64/primary_db
    | 4.8 MB 00:08 Loading mirror speeds from cached hostfile * base: * epel: * extras: * ius: * updates: No package qt5 available. Error: Nothing to do

    Can someone please help. Thanks

Log in to reply