Unknown module(s) in QT: svg

后端 未结 3 1963
耶瑟儿~
耶瑟儿~ 2020-12-15 14:59

Added QT += svg and I tried just QT += svg and greaterThan(QT_MAJOR_VERSION, 4): QT += svg to the .pro solution file and ran qmake from inside the QtCreator and got this err

3条回答
  •  余生分开走
    2020-12-15 15:44

    Debian Stretch:

    sudo apt install libqt5svg5-dev
    

    Fedora (courtesy of @robin-green):

    sudo dnf install qt5-qtsvg-devel
    

提交回复
热议问题