Qt Forum

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

    Solved Error ‘QChar’ was not declared in this scope

    Mobile and Embedded
    2
    3
    171
    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.
    • K-Str
      K-Str last edited by

      Hello,
      I tried to make a program which was working last month.
      But now I cannot build it anymore.
      I get this error:

      ‘QChar’ was not declared in this scope
      

      I use this Qt-Version:
      Qt Creator 4.13.1
      This application sould run remotely on an raspberry zero
      The compiler is :

      Thread-Modell: posix
      gcc-Version 4.8.3 20140303
      

      has something changed?

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @K-Str last edited by

        @K-Str said in Error ‘QChar’ was not declared in this scope:

        Qt Creator 4.13.1

        This is QtCreator version, not Qt version.
        Add

        #include <QChar>
        

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 2
        • K-Str
          K-Str last edited by

          @jsulm ,
          thank you very much it works now!

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