error: Unknown module(s) in QT: qml quick - Qt Cre

2020-03-01 02:44发布

问题:

I installed Qt Creator via the Software Manager on Linux Mint 18 (x86_64). I made a few sample projects, and some dependencies/packages/libraries/whatever were missing, so I installed the via apt. I made a QtQuick application and in Issues there is an error message saying:

 error: Unknown module(s) in QT: qml quick

I read that there is some libraries to build and link, but I don't know where to find them.

回答1:

According to Hayt's answer (and the askubuntu post), I had to install the qtdeclarative5-dev package.