Qt Charts and Data Visualization widgets

后端 未结 4 2072
臣服心动
臣服心动 2021-02-09 15:44

I have installed Qt 5.7 in order to try Qt Charts and Qt Data Visualization but I cannot find new widgets neither in Qt Designer nor in Qt Creator. Any suggestions what should I

4条回答
  •  孤街浪徒
    2021-02-09 16:42

    I was having exactly the same problem today. It looks like the QT Designer plugins of QT Charts are not part of the package by default. I ended up downloading the designer plugin sources from github https://github.com/qtproject/qtcharts/tree/5.7/plugins/designer This consists of just 5 files.

    You should then be able to open the designer.pro project in Qt Creator and compile it. Place the resulting library in your designer plugin directory. This will make the QChartsView widget appear in the Qt Designer.

提交回复
热议问题