Qt Forum

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

    Unsolved Compiling a fresh Qt 6 App results in massive errors

    General and Desktop
    3
    5
    395
    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
      Kris Revi last edited by

      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 Reply Quote 0
      • VRonin
        VRonin last edited by

        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

        JonB K 2 Replies Last reply Reply Quote 0
        • JonB
          JonB @VRonin last edited by

          @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 Reply Quote 0
          • K
            Kris Revi @VRonin last edited by

            @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 Reply Quote 0
            • VRonin
              VRonin last edited by

              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 Reply Quote 0
              • First post
                Last post