qtqt-quickqt6

Unknown module(s) in QT: quick


I'm trying to run QtQuick App for the first time, but when I run the default code I get this error (Unknown module(s) in QT: quick). I'm on Ubuntu running QT 6, I've already tried installing qtdeclarative5-dev but it doesn't help. I would appreciate any help screenshot of the error

The error is:

Project ERROR: Unknown module(s) in QT:quick

Solution

  • It turned out i just needed to install qt6-declarative-dev