Unsolved Problem using Qt Charts <QtCharts/QAbstractSeries> Not found
-
Can you show the line you used to clone the repository from code.qt.io
How are you trying to build the project ?
-
@SGaist
I tried withgit 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.gitI 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
-
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.
-
Even after using this command
git clone -b 5.6 git://code.qt.io/qt/qtcharts.gitThe 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.
-
@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.
-
Sorry,
When I use this command
git clone -b 5.6 git://code.qt.io/qt/qtcharts.gitI 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' -
Are you behind a firewall ? A custom DNS ?
-
@SGaist
Yes there is firewall . Will that affect ?? -
Check with the people responsible to manage it but it's likely that it's blocking access to code.qt.io
-
@SGaist
Thank you i will check with the concerned people and get back if any help needed