QtCharts for Qt 5 missing

Solution Unverified - Updated -

Issue

  • When I try to compile a source code example from Qt's website, I get the following error message:

    linechart.cpp:33:10: fatal error: QtCharts/QChartView: No such file or directory
      #include <QtCharts/QChartView>
              ^~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    
  • Where can I find the QtCharts module for Qt 5?

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content