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. Compiling a fresh Qt 6 App results in massive errors
Forum Update on Monday, May 27th 2025

Compiling a fresh Qt 6 App results in massive errors

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 602 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.
  • K Offline
    K Offline
    Kris Revi
    wrote on 28 Apr 2021, 15:33 last edited by
    #1

    So i made a new Qt 6 project and tried to compile out of the box fresh but got a ton of errors

    the output was so big i was not allowed to post it here... aaand pastebin is down atm for maint....

    Compile Output - https://controlc.com/d9e170c6

    Everything relates to qnamespace.h

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VRonin
      wrote on 28 Apr 2021, 16:33 last edited by
      #2

      This is a stinker to debug if you didn't see it before and it has to do with #include being basically a copy-paste machine.
      You probably forgot ; at the end of a class definition in one of the headers you include before the Qt ones

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      J K 2 Replies Last reply 28 Apr 2021, 16:44
      0
      • V VRonin
        28 Apr 2021, 16:33

        This is a stinker to debug if you didn't see it before and it has to do with #include being basically a copy-paste machine.
        You probably forgot ; at the end of a class definition in one of the headers you include before the Qt ones

        J Offline
        J Offline
        JonB
        wrote on 28 Apr 2021, 16:44 last edited by
        #3

        @VRonin said in Compiling a fresh Qt 6 App results in massive errors:

        You probably forgot ; at the end of a class definition in one of the headers you include before the Qt ones

        Nice :) Compilers are so human-friendly... ;-)

        1 Reply Last reply
        0
        • V VRonin
          28 Apr 2021, 16:33

          This is a stinker to debug if you didn't see it before and it has to do with #include being basically a copy-paste machine.
          You probably forgot ; at the end of a class definition in one of the headers you include before the Qt ones

          K Offline
          K Offline
          Kris Revi
          wrote on 28 Apr 2021, 17:03 last edited by
          #4

          @VRonin what are you talking about? You probably forgot ; me? did you not read the post?

          Compiling a fresh Qt 6 App results

          So i made a new Qt 6 project and tried to compile out of the box fresh

          this was a totaly fresh and new project, NO code added! just the standard that comes with all project creation!

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VRonin
            wrote on 28 Apr 2021, 17:48 last edited by
            #5

            Did you compile Qt yourself or downloaded from the site?

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply
            0

            1/5

            28 Apr 2021, 15:33

            • Login

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