Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project ERROR: Unknown module(s) in QT: charts (Ubuntu 17.04) #66

Closed
Snowman3456 opened this issue Jul 21, 2017 · 9 comments
Closed

Project ERROR: Unknown module(s) in QT: charts (Ubuntu 17.04) #66

Snowman3456 opened this issue Jul 21, 2017 · 9 comments

Comments

@Snowman3456
Copy link
Contributor

Snowman3456 commented Jul 21, 2017

Ubuntu 17.04 seems to not have libqt5charts5*.deb

README should probably mention:

Even having installed those, I still see the above error when building.

@marazmista
Copy link
Owner

Looks like this may be related: https://bugs.launchpad.net/ubuntu/+source/qtcharts-opensource-src/+bug/1682643
Can you try install qtcharts-opensource-src as noted in link? Maybe this will help.

@Snowman3456
Copy link
Contributor Author

Snowman3456 commented Jul 21, 2017

@marazmista I did see that. That's where I found the .debs that seemed relevant. Not sure how to install that as a whole - it looks like it just has a lot of .deb's.

I also just installed http://launchpadlibrarian.net/316647368/qml-module-qtcharts_5.7.1-3_amd64.deb but still same error.

As per https://launchpad.net/ubuntu/+source/qtcharts-opensource-src/5.7.1-3/+build/12462945 the only packages I didn't install are the -dbgsym, docs & example ones.

@marazmista
Copy link
Owner

Can you check if you have QtCharts directory in /usr/include/qt?

@Snowman3456
Copy link
Contributor Author

@marazmista Not entirely sure what's going on here but this is all I have:

:/usr/include$ ls -l | grep qt
drwxr-xr-x 19 root root   4096 Jul 13 12:43 qt4
drwxr-xr-x  3 root root   4096 Jul 18 20:05 qt4qevercloud
drwxr-xr-x  2 root root   4096 Jul 18 19:50 qt5keychain
drwxr-xr-x  3 root root   4096 Jul 18 19:50 qt5qevercloud

@Snowman3456
Copy link
Contributor Author

@marazmista I reinstalled GNOME 17.04 and I have nothing in /usr/include.

What am I supposed to install?

I have this but how do I use it? Some instructions in the README would be useful.

:/opt/Qt5.9.1/5.9.1/gcc_64/include$ ls -l | grep Chart
drwxrwxr-x 3 root root  4096 Jul 31 01:23 QtCharts

@Snowman3456
Copy link
Contributor Author

Issue is resolved for me following the updated README in pull request: #65 (review)

@MasterCATZ
Copy link

Ubuntu 17.10

sudo apt install libqt5charts5 libqt5charts5-dev

worked for me

libqt5charts5 is already the newest version (5.9.1-3).
libqt5charts5-dev is already the newest version (5.9.1-3).

@Snowman3456
Copy link
Contributor Author

That's awesome. Must have just been an oversight with 17.04.

@MishkaRogachev
Copy link

sudo apt install qml-module-qtcharts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants