Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can add Qt charts on QT Creator 5.5.1
Forum Updated to NodeBB v4.3 + New Features

How can add Qt charts on QT Creator 5.5.1

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 4 Posters 5.9k 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
    isan
    wrote on last edited by isan
    #1

    I have Qt Creator 5.5.1 on Linux 14.04 x32 bit and cross compile it for raspberry pi I want to use Qt Charts
    but Qt Creator says error: Unknown module(s) in QT: charts
    in Maintenance Tool I can' find Qt Charts and I use this link to add Qt Chart to Qt Creator but I when building with qmake it, I get an error
    I use git clone https://github.com/qtproject/qtcharts.git in terminal and packet download but still
    Qt creator says error: Unknown module(s) in QT: charts

    How can I add Qt Charts to Qt Creator 5.5.1?

    jsulmJ 1 Reply Last reply
    0
    • I isan

      I have Qt Creator 5.5.1 on Linux 14.04 x32 bit and cross compile it for raspberry pi I want to use Qt Charts
      but Qt Creator says error: Unknown module(s) in QT: charts
      in Maintenance Tool I can' find Qt Charts and I use this link to add Qt Chart to Qt Creator but I when building with qmake it, I get an error
      I use git clone https://github.com/qtproject/qtcharts.git in terminal and packet download but still
      Qt creator says error: Unknown module(s) in QT: charts

      How can I add Qt Charts to Qt Creator 5.5.1?

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

      @isan You need to cross compile QtCharts for Raspberry Pi using your cross-compiler and cross compiled Qt.

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

      1 Reply Last reply
      2
      • I Offline
        I Offline
        isan
        wrote on last edited by
        #3

        I get qtcharts module and make it

        git clone git://code.qt.io/qt/<qt-module>.git -b <qt-version>
        cd <qt-module>
        
        ~/raspi/qt5/bin/qmake -r
        make
        make install
        
        1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Did you cross-compile it or did you build it on the Pi directly ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          I 1 Reply Last reply
          1
          • SGaistS SGaist

            Hi,

            Did you cross-compile it or did you build it on the Pi directly ?

            I Offline
            I Offline
            isan
            wrote on last edited by
            #5

            @SGaist I cross compile it and copy libQt5Charts.so.2 to qt5pi library on raspberry pi

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              You forgot the symbolic links. If you run ldd on your application on your target it should show you what is missing.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              A 1 Reply Last reply
              1
              • SGaistS SGaist

                You forgot the symbolic links. If you run ldd on your application on your target it should show you what is missing.

                A Offline
                A Offline
                Andrex_Qt
                wrote on last edited by
                #7

                @SGaist
                hello;
                I am facing similar problem i followed the same procedure given in https://wiki.qt.io/RaspberryPi2EGLFS i am cross-compiling from ubuntu 16.04 to my RPi. error Unknown module Qt:charts/Qt:quick for virtual keyboard.
                can you explain step-wise procedure to solve this error.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Andrex_Qt Did you build these two modules ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    @Andrex_Qt Did you build these two modules ?

                    A Offline
                    A Offline
                    Andrex_Qt
                    wrote on last edited by
                    #9

                    @SGaist,
                    hello, i did not build those two modules. is that the only way or is there another way ( you want build your own keypad )?
                    apologies for late reply..

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      QtCharts has nothing to do with the virtual keyboard module however, QtQuick is mandatory yes.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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