How to use QtCharts in qbs project?

  • Hello!

    Actual i try to use qtcharts in our qbs project. First i use an .pro project and there everything works fine. But now i get errors only i include QtCharts in any header or cpp file.

    Nearly all errors and warnings have to do with min and max functions in qbarcategoryaxis.h, qvalueaxis,h, qcategoryaxis.h, qdatetimeaxis.h and qlogvalueaxis.h.

    What is the problem that QtCharts run with .pro but not with .qbs projects?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.