androidqtqt-creatorqtchartsqgroundcontrol

Unknown module(s) in QT: charts - Error while building QGroundControl for Android


I am trying to build the QGroundControl for Android with the QT, but I am getting the below error: error: Unknown module(s) in QT: charts

I can build the QGroundControl for Windows without any trouble.

I am using Windows 8.1 x64.

About QT Creator

available kits

Detail of android kit

android device detail

Error Message:

Error message


Solution

  • you have to add

    QT += charts
    

    in your .pro file.

    If you want to use charts just in android use

    android: QT += charts