Unknown module(s) in QT: svg

user3191398 picture user3191398 · Jan 13, 2014 · Viewed 32.1k times · Source

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 error:

error: Unknown module(s) in QT: svg

Any ideas?

Answer

lpapp picture lpapp · Jan 13, 2014

You are lacking the installation of the the QtSvg library. Try to install them on your Ubuntu 13.10 in the following way:

sudo apt-get install libqt5svg5*