Skip to content

Commit

Permalink
Overview and Qt Charts in QT 5.8
Browse files Browse the repository at this point in the history
.. enforce use of QT 5.8 for building the Overview and
   use of Qt Charts.

.. Qt 5.7.x doesn't neccessarily come with Qt Charts as it
   was a technology preview (and breaks the current Appveyor
   builds)
  • Loading branch information
liversedge committed Feb 12, 2017
1 parent 77e8bde commit e366443
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/src.pro
Expand Up @@ -634,8 +634,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
SOURCES += Train/BT40Controller.cpp Train/BT40Device.cpp
}

# qt charts in QT5.7 or higher
greaterThan(QT_MINOR_VERSION, 6) {
# qt charts is officially supported from QT5.8 or higher
# in 5.7 it is a tech preview and not always available
greaterThan(QT_MINOR_VERSION, 7) {
QT += charts

# Dashboard uses qt charts, so needs at least Qt 5.7
Expand Down

0 comments on commit e366443

Please sign in to comment.