Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Project ERROR: Unknown module(s) in QT: charts
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 314 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    InsideFPV
    wrote on last edited by
    #1

    I am trying to build my project in Qt Creator for Android, but I am encountering the error: Unknown module(s) in QT: charts. I have already installed Qt Charts using the Qt Maintenance Tool and added QT += charts to my .pro file. The project builds and runs fine for the Desktop Kit, but when I try to build it for Android, this error appears. I have ensured that my Android SDK, NDK, JDK, and Gradle are installed and correctly configured. My selected Qt version is (mention your Qt version, e.g., Qt 5.15.2), and I am using (mention the Android kit, e.g., Android Qt 5.15.2 Clang Multi-Abi). I have tried cleaning the build, deleting the build- folder, and re-running qmake, but the issue persists. I would like to know how to check if Qt Charts is available for my Android Kit and whether additional steps are needed to make it work. Any help would be appreciated!.Capture.PNG

    jsulmJ C 2 Replies Last reply
    0
    • I InsideFPV

      I am trying to build my project in Qt Creator for Android, but I am encountering the error: Unknown module(s) in QT: charts. I have already installed Qt Charts using the Qt Maintenance Tool and added QT += charts to my .pro file. The project builds and runs fine for the Desktop Kit, but when I try to build it for Android, this error appears. I have ensured that my Android SDK, NDK, JDK, and Gradle are installed and correctly configured. My selected Qt version is (mention your Qt version, e.g., Qt 5.15.2), and I am using (mention the Android kit, e.g., Android Qt 5.15.2 Clang Multi-Abi). I have tried cleaning the build, deleting the build- folder, and re-running qmake, but the issue persists. I would like to know how to check if Qt Charts is available for my Android Kit and whether additional steps are needed to make it work. Any help would be appreciated!.Capture.PNG

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @InsideFPV said in Project ERROR: Unknown module(s) in QT: charts:

      I have already installed Qt Charts using the Qt Maintenance Tool

      Also for Android Qt?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      0
      • I Offline
        I Offline
        InsideFPV
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • jsulmJ jsulm

          @InsideFPV said in Project ERROR: Unknown module(s) in QT: charts:

          I have already installed Qt Charts using the Qt Maintenance Tool

          Also for Android Qt?

          I Offline
          I Offline
          InsideFPV
          wrote on last edited by
          #4

          @jsulm yes sir i have installed it

          1 Reply Last reply
          0
          • I InsideFPV

            I am trying to build my project in Qt Creator for Android, but I am encountering the error: Unknown module(s) in QT: charts. I have already installed Qt Charts using the Qt Maintenance Tool and added QT += charts to my .pro file. The project builds and runs fine for the Desktop Kit, but when I try to build it for Android, this error appears. I have ensured that my Android SDK, NDK, JDK, and Gradle are installed and correctly configured. My selected Qt version is (mention your Qt version, e.g., Qt 5.15.2), and I am using (mention the Android kit, e.g., Android Qt 5.15.2 Clang Multi-Abi). I have tried cleaning the build, deleting the build- folder, and re-running qmake, but the issue persists. I would like to know how to check if Qt Charts is available for my Android Kit and whether additional steps are needed to make it work. Any help would be appreciated!.Capture.PNG

            C Offline
            C Offline
            Constanta_L
            wrote on last edited by
            #5

            @InsideFPV Hi, did you check the modules QtCharts at this location: Qt\5.15.2\android\include?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved