Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Does anyone know about QCPAxisTickerTime???
QtWS25 Last Chance

Does anyone know about QCPAxisTickerTime???

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jewel Halm
    wrote on last edited by
    #1

    Hi,

    I'm doing an apllication by Qt and I just use QCustomPlot to make Plot. But when I tried to change the Y axis in the chart to the Datetime axis by QCPAxisTickerTime, I got this Error:

    error: ‘QCPAxisTickerTime’ was not declared in this scope
    QSharedPointer<QCPAxisTickerTime> timeTicker(new QCPAxisTickerTime).

    I included the QSharedPointer library.
    I'm using Qt5.8.0 and QCustomPlot version 2.0.0 beta.
    I'm doing student thesis in the University. Please help me.
    Sorry for bad English, I'm from Vietnam.
    Thank you so much.

    Halm-Jewel.

    FlotisableF 1 Reply Last reply
    0
    • J Jewel Halm

      Hi,

      I'm doing an apllication by Qt and I just use QCustomPlot to make Plot. But when I tried to change the Y axis in the chart to the Datetime axis by QCPAxisTickerTime, I got this Error:

      error: ‘QCPAxisTickerTime’ was not declared in this scope
      QSharedPointer<QCPAxisTickerTime> timeTicker(new QCPAxisTickerTime).

      I included the QSharedPointer library.
      I'm using Qt5.8.0 and QCustomPlot version 2.0.0 beta.
      I'm doing student thesis in the University. Please help me.
      Sorry for bad English, I'm from Vietnam.
      Thank you so much.

      Halm-Jewel.

      FlotisableF Offline
      FlotisableF Offline
      Flotisable
      wrote on last edited by
      #2

      @Jewel-Halm
      it seems you don't include the header file or QCPAxisTickerTime is declared in another scope.

      but I read the source of qcustomplot.h briefly, it does not declare QCPAxisTickerTime in any namespace or class, so do you include the header file?

      BTW, from the official download page , it seems that QCustomPlot does not support Qt5.8

      J 1 Reply Last reply
      1
      • FlotisableF Flotisable

        @Jewel-Halm
        it seems you don't include the header file or QCPAxisTickerTime is declared in another scope.

        but I read the source of qcustomplot.h briefly, it does not declare QCPAxisTickerTime in any namespace or class, so do you include the header file?

        BTW, from the official download page , it seems that QCustomPlot does not support Qt5.8

        J Offline
        J Offline
        Jewel Halm
        wrote on last edited by
        #3

        @Flotisable Thank you so much! I'm doing it. :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved