Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    'update' was not declared in this scope. (Solved)

    General and Desktop
    3
    3
    848
    Loading More Posts
    • 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.
    • H
      houmingc last edited by houmingc

      created a class and not deriving from QWidget
      How to resolve when i get the error below :
      'update' was not declared in this scope.

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        @houmingc said:

        'update' was not declared in this scope.

        What are you deriving from then ?

        1 Reply Last reply Reply Quote 1
        • dheerendra
          dheerendra Qt Champions 2022 last edited by

          update(..) is method defined in QWidget. If you have not derived your class from QWidget, then surely you will hit the error. What are you trying to do here ? What is that you are expecting by calling update(..) ?

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply Reply Quote 4
          • First post
            Last post