Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem using Qt Charts <QtCharts/QAbstractSeries> Not found
Forum Updated to NodeBB v4.3 + New Features

Problem using Qt Charts <QtCharts/QAbstractSeries> Not found

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
18 Posts 3 Posters 10.0k Views 3 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.
  • kshegunovK kshegunov

    @Jenifer
    Perhaps a silly question, but when you cloned the repository did you select the correct branch (Qt version)?

    Kind regards.

    JeniferJ Offline
    JeniferJ Offline
    Jenifer
    wrote on last edited by Jenifer
    #8

    @kshegunov
    Ya it seems silly too , but i am unable to resolve it. I have selected the correct branch and qt version.
    I am completely new to QT so i have no clue how to resolve it. I tried checking the .pro files as well but i couldn't figure out what is causing that error.

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

      Can you show the line you used to clone the repository from code.qt.io

      How are you trying to build the project ?

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

      JeniferJ 1 Reply Last reply
      0
      • SGaistS SGaist

        Can you show the line you used to clone the repository from code.qt.io

        How are you trying to build the project ?

        JeniferJ Offline
        JeniferJ Offline
        Jenifer
        wrote on last edited by
        #10

        @SGaist
        I tried with

        git clone https://code.qt.io/qt/qtcharts.git
        git clone http://code.qt.io/qt/qtcharts.git
        git clone git://code.qt.io/qt/qtcharts.git

        I get the error as
        fatal: unable to access 'https://code.qt.io/qt/qtcharts.git/': Couldn't resolve host 'code.qt.io'.

        I tried building the project from QtCreator it showed the error as mentioned above. Later i tried from command prompt and got the same error

        kshegunovK 1 Reply Last reply
        0
        • JeniferJ Jenifer

          @SGaist
          I tried with

          git clone https://code.qt.io/qt/qtcharts.git
          git clone http://code.qt.io/qt/qtcharts.git
          git clone git://code.qt.io/qt/qtcharts.git

          I get the error as
          fatal: unable to access 'https://code.qt.io/qt/qtcharts.git/': Couldn't resolve host 'code.qt.io'.

          I tried building the project from QtCreator it showed the error as mentioned above. Later i tried from command prompt and got the same error

          kshegunovK Offline
          kshegunovK Offline
          kshegunov
          Moderators
          wrote on last edited by kshegunov
          #11

          @Jenifer

          Try this:

          git clone -b 5.6 git://code.qt.io/qt/qtcharts.git
          

          Then you try building. Go in the cloned directory and run (put the correct paths here):

          /path/to/qt/qmake
          mingw32-make
          

          Finally if everything goes well you can install in the (preset) location with:

          mingw32-make install
          

          By the way, did you build Qt yourself, or you have installed it with the maintenance tool?

          Kind regards.

          Read and abide by the Qt Code of Conduct

          JeniferJ 1 Reply Last reply
          0
          • kshegunovK kshegunov

            @Jenifer

            Try this:

            git clone -b 5.6 git://code.qt.io/qt/qtcharts.git
            

            Then you try building. Go in the cloned directory and run (put the correct paths here):

            /path/to/qt/qmake
            mingw32-make
            

            Finally if everything goes well you can install in the (preset) location with:

            mingw32-make install
            

            By the way, did you build Qt yourself, or you have installed it with the maintenance tool?

            Kind regards.

            JeniferJ Offline
            JeniferJ Offline
            Jenifer
            wrote on last edited by Jenifer
            #12

            @kshegunov

            Even after using this command
            git clone -b 5.6 git://code.qt.io/qt/qtcharts.git

            The error persist
            fatal: unable to access 'https://code.qt.io/qt/qtcharts.git/': Couldn't resolve host 'code.qt.io'.

            I have installed it from the maintenance tool.

            kshegunovK 1 Reply Last reply
            0
            • JeniferJ Jenifer

              @kshegunov

              Even after using this command
              git clone -b 5.6 git://code.qt.io/qt/qtcharts.git

              The error persist
              fatal: unable to access 'https://code.qt.io/qt/qtcharts.git/': Couldn't resolve host 'code.qt.io'.

              I have installed it from the maintenance tool.

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #13

              @Jenifer
              I'm sorry, this error:

              fatal: unable to access 'https://code.qt.io/qt/qtcharts.git/': Couldn't resolve host 'code.qt.io'.
              

              does not correspond to the suggested git command. Are you sure you're executing what I wrote and not something else? I can pull the repository without a problem.

              Kind regards.

              Read and abide by the Qt Code of Conduct

              JeniferJ 1 Reply Last reply
              0
              • kshegunovK kshegunov

                @Jenifer
                I'm sorry, this error:

                fatal: unable to access 'https://code.qt.io/qt/qtcharts.git/': Couldn't resolve host 'code.qt.io'.
                

                does not correspond to the suggested git command. Are you sure you're executing what I wrote and not something else? I can pull the repository without a problem.

                Kind regards.

                JeniferJ Offline
                JeniferJ Offline
                Jenifer
                wrote on last edited by
                #14

                @kshegunov

                Sorry,

                When I use this command
                git clone -b 5.6 git://code.qt.io/qt/qtcharts.git

                I got the following error
                Unable to look up code.qt.io (port 9418) (No such host is known. )

                So i tried it with
                git clone -b 5.6 http://code.qt.io/qt/qtcharts.git
                git clone -b 5.6 https://code.qt.io/qt/qtcharts.git
                commands for which i got the error as
                fatal: unable to access 'https://code.qt.io/qt/qtcharts.git/': Couldn't resolve host 'code.qt.io'

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

                  Are you behind a firewall ? A custom DNS ?

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

                  JeniferJ 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    Are you behind a firewall ? A custom DNS ?

                    JeniferJ Offline
                    JeniferJ Offline
                    Jenifer
                    wrote on last edited by
                    #16

                    @SGaist
                    Yes there is firewall . Will that affect ??

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

                      Check with the people responsible to manage it but it's likely that it's blocking access to code.qt.io

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

                      JeniferJ 1 Reply Last reply
                      1
                      • SGaistS SGaist

                        Check with the people responsible to manage it but it's likely that it's blocking access to code.qt.io

                        JeniferJ Offline
                        JeniferJ Offline
                        Jenifer
                        wrote on last edited by
                        #18

                        @SGaist
                        Thank you i will check with the concerned people and get back if any help needed

                        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