CentOS 安装QT qt.qpa.xcb: could not connect to display

    技术2022-07-10  148

    没有桌面环境的话只能用命令安装

    yum search 查找需要安装的软件

    yum search qt

    yum intstall 进行安装

    yum intstall qt5-qtbase.x86_64

    ubuntu:

    sudo apt-cache search qt5 sudo apt-get install qt5
    Processed: 0.010, SQL: 9