QCustomPlot Discussion and Comments

error LNK2001: unresolved external symbol "public: static double const QCPRange::maxRangeReturn to overview

I use qcustomplot as shared library. Everything works well. But when I use this const variable "QCPRange::maxRange", it causes an error:

error LNK2001: unresolved external symbol "public: static double const QCPRange::maxRange

How can I solve this problem?

I forgot define use_library.
solved