'Unknown module(s) in QT: core

I'm having a lot of trouble with Qt. When I try to build my project (imported from another PC) I get the error:

Unknown module(s) in QT: core

Moreover, I have a No such file or directory error whenever I make an #include <Q*> (* meaning String, or Widget...)

If anyone has had this problem, any help will be appreciated.



Solution 1:[1]

This answer worked for me on Debian: https://stackoverflow.com/a/70887187/350875

In other words, installing the package qtbase5-dev.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 appas