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. why i am getting error "QwtText yText’ has incomplete type and cannot be defined" ?
QtWS25 Last Chance

why i am getting error "QwtText yText’ has incomplete type and cannot be defined" ?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 375 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by
    #1

    /home/mangal/amnex@12/20JUNE2021_committed_untested_nfc/LZ-50/trunk/Camera.cpp:3651: error: aggregate ‘QwtText yText’ has incomplete type and cannot be defined
    3651 | QwtText yText;
    | ^~~~~

    JonBJ 1 Reply Last reply
    0
    • Q Qt embedded developer

      /home/mangal/amnex@12/20JUNE2021_committed_untested_nfc/LZ-50/trunk/Camera.cpp:3651: error: aggregate ‘QwtText yText’ has incomplete type and cannot be defined
      3651 | QwtText yText;
      | ^~~~~

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @Qt-embedded-developer
      Sounds like the code has not included whatever to define QwtText when it reaches that line.

      Q 1 Reply Last reply
      1
      • JonBJ JonB

        @Qt-embedded-developer
        Sounds like the code has not included whatever to define QwtText when it reaches that line.

        Q Offline
        Q Offline
        Qt embedded developer
        wrote on last edited by
        #3

        @JonB i have added needed .h file and it solved the issue. thanks.

        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