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. qcborstreamreader.h broken?
Qt 6.11 is out! See what's new in the release blog

qcborstreamreader.h broken?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 465 Views 2 Watching
  • 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.
  • S Offline
    S Offline
    seal331
    wrote on last edited by
    #1

    Hello.

    Not really a Qt programmer, came here because I'm compiling a Qt app and qcborstreamreader.h appears to be having a stroke? The compilers traceback says the issue is in the Qt header, not the app.

    So, when I attempt to compile theShell on my Arch Linux machine, I get a crapton of errors saying stuff like "expected unqualified-id before numeric constant", "expected ';' before 'int' and 'expected primary-expression before 'int', as well as "expected unqualified-id before numeric constant", "expected ':' before 'int' from qcborstreamwriter.h.

    Is it an app bug, a Qt bug or something broken in Arch?
    Please help!

    kshegunovK 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt ?
      How did you install it ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        seal331
        wrote on last edited by
        #3

        The Qt version is 5.15.2 according to qmake --version, it was automatically pulled as a package dependency by Pacman, Arch Linux's package manager.

        I did not make any modifications to the Qt headers, this is a brand new installation made by me a couple hours ago.

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Please show the exact error message and the line from qcborstreamreader.h (+/- some lines). Also the version of your used gcc would be interesting.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • S seal331

            Hello.

            Not really a Qt programmer, came here because I'm compiling a Qt app and qcborstreamreader.h appears to be having a stroke? The compilers traceback says the issue is in the Qt header, not the app.

            So, when I attempt to compile theShell on my Arch Linux machine, I get a crapton of errors saying stuff like "expected unqualified-id before numeric constant", "expected ';' before 'int' and 'expected primary-expression before 'int', as well as "expected unqualified-id before numeric constant", "expected ':' before 'int' from qcborstreamwriter.h.

            Is it an app bug, a Qt bug or something broken in Arch?
            Please help!

            kshegunovK Offline
            kshegunovK Offline
            kshegunov
            Moderators
            wrote on last edited by
            #5

            In addition to @Christian-Ehrlicher's list, please also provide the the compile line call. The used switches may be relevant.

            Read and abide by the Qt Code of Conduct

            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