Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown module(s) in QT: declarative

Tags:

qt

Sorry, this may be a dumb question, but I'm totally new in QT, I just need to run a project and Log some data.

I installed Qt "qt-unified-windows-x86-2.0.3-2-online", open the project and then click on configure, and then I got this error: Unknown module(s) in QT: declarative

which wont let me compile the code. Everything else looks fine. From researching I get that I may lack some libraries, I'm using windows, How do I get the proper library in windows? which is the library I need?

I'm using "Qt Creator user the kit Desktop Qt 5.7.0 MinGW 32bit."

Thank you.

I'm downloading linux, a live version, to try to run the code in there

like image 513
LearningCharlito Avatar asked Sep 16 '16 18:09

LearningCharlito


1 Answers

The error occurs when trying to build a project that depends on the deprecated QtDeclarative module on Qt version 5.6 and later, as the module was removed in version 5.6.

The source code for the module is still available you can compile it from source. Or you can install a Qt version below Qt 5.6 to build the project.

like image 53
Mike Avatar answered Sep 20 '22 04:09

Mike