Results 1 to 3 of 3

Thread: Difficulties installing Qt Charts on Linux

  1. #1
    Join Date
    Mar 2016
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Difficulties installing Qt Charts on Linux

    I am using Ubuntu 15.10. I wanted to make live plots of some data my C++ program is outputting, and was recommended to use Qt Charts. It has not been cooperative thus far.

    I had Qt 5.4 installed from an unknown source (I recently reformatted, so I have no clue where it was from). Before I realized this I experienced several problems. I then uninstalled it, then installed Qt 5.6 from offline binary installer. I added the path to its version of qmake to the front of my path variable.

    I downloaded the dev branch of Qt Charts from its github page and put it in an arbitrary directory.

    https://github.com/qtproject/qtcharts/tree/dev

    I run qmake in that directory, and then make. It fails with "chartdataset.cpp:30:36: fatal error: private/chartdataset_p.h: No such file or directory".

    The only copy of "chartdataset_p.h" anywhere on my system is "/qtcharts-dev/src/charts/chartdataset_p.h".

    These are the exact commands suggested by the QtCharts getting started guide: http://doc.qt.io/QtCharts/qtcharts-getting-started.html

    The only difference is that I pulled from github instead of installing directly from the Maintenance Tool. I did not use the maintenance tool because I had to tell it which repository to use, and when I did so and tested it, I got "Error downloading https://github.com/qtproject/qtchart...ev/Updates.xml - server replied: Not Found".

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Difficulties installing Qt Charts on Linux

    It is possible that the dev branch of Qt Charts is currently broken, or just broken with Qt 5.6. Have you tried using the 5.6 branch?

  3. #3
    Join Date
    Jun 2016
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Difficulties installing Qt Charts on Linux

    Try to use "git clone https://github.com/qtproject/qtcharts.git" instead of downloading the zip file.

Similar Threads

  1. Installing Qt SDK 1.1 on Linux Cent OS 5.5
    By ThomasKennedy in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd November 2012, 21:28
  2. Replies: 21
    Last Post: 8th December 2011, 02:18
  3. problem installing QT4 on Linux
    By p_kian in forum Installation and Deployment
    Replies: 8
    Last Post: 13th April 2011, 13:17
  4. Gtk error when installing Qt in linux
    By john_god in forum Installation and Deployment
    Replies: 1
    Last Post: 18th November 2009, 05:08
  5. Installing on Linux with gcc
    By BSchow in forum Installation and Deployment
    Replies: 2
    Last Post: 26th August 2008, 20:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.