Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Build error 6.4 (configure)
QtWS25 Last Chance

Build error 6.4 (configure)

Scheduled Pinned Locked Moved Unsolved Qt 6
configureqt6builderror
21 Posts 4 Posters 3.7k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    On which platform are you trying to build Qt ?

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

    C 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      On which platform are you trying to build Qt ?

      C Offline
      C Offline
      continue98
      wrote on last edited by
      #3

      @SGaist Windows 10

      1 Reply Last reply
      0
      • C Offline
        C Offline
        continue98
        wrote on last edited by
        #4

        @SGaist do you have a solution for this problem?

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

          Please allow 24 hours to pass before bumping your own thread. This is a voluntary driven forum and people might not even live in the same time zone as you.

          What command did you use to start the build ?

          Also, are you doing an out of source build ? If not, start by doing that.

          Next: where did you get the sources from ?

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

          C 1 Reply Last reply
          0
          • SGaistS SGaist

            Please allow 24 hours to pass before bumping your own thread. This is a voluntary driven forum and people might not even live in the same time zone as you.

            What command did you use to start the build ?

            Also, are you doing an out of source build ? If not, start by doing that.

            Next: where did you get the sources from ?

            C Offline
            C Offline
            continue98
            wrote on last edited by
            #6

            @SGaist said in Build error 6.4 (configure):

            Please allow 24 hours to pass before bumping your own thread. This is a voluntary driven forum and people might not even live in the same time zone as you.
            What command did you use to start the build ?
            Also, are you doing an out of source build ? If not, start by doing that.
            Next: where did you get the sources from ?

            1. git clone git://code.qt.io/qt/qt5.git qt6
            2. git checkout 6.4
            3. perl init-repository
            4. mkdir build
            5. cd build
            6. ../configure.bat -prefix E:/dev/qt6_install

            7) I get error

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

              Can you check for the presence of multiple Dialog_with_Buttons_Bottom.ui files ? I am wondering whether you might have casing issue.

              On an unrelated note, did I see correctly that are you building for 32 bit ?

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

              C 1 Reply Last reply
              0
              • SGaistS SGaist

                Can you check for the presence of multiple Dialog_with_Buttons_Bottom.ui files ? I am wondering whether you might have casing issue.

                On an unrelated note, did I see correctly that are you building for 32 bit ?

                C Offline
                C Offline
                continue98
                wrote on last edited by
                #8

                @SGaist

                I run search with powershell (Get-ChildItem -Path E:\dev\qt6\ -Filter Dialog_with_Buttons_Bottom.ui -Recurse -ErrorAction SilentlyContinue -Force)

                    Dir: E:\dev\qt6\qtbase\tests\auto\tools\uic\baseline
                
                
                Mode                 LastWriteTime         Length Name                                                                 
                ----                 -------------         ------ ----                                                                 
                -a----        25.07.2022     20:40           1596 Dialog_with_Buttons_Bottom.ui                                        
                
                
                    Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms
                
                
                Mode                 LastWriteTime         Length Name                                                                 
                ----                 -------------         ------ ----                                                                 
                -a----        25.07.2022     20:40           1596 Dialog_with_Buttons_Bottom.ui                                        
                
                
                    Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\240x320
                
                
                Mode                 LastWriteTime         Length Name                                                                 
                ----                 -------------         ------ ----                                                                 
                -a----        25.07.2022     20:40           1488 Dialog_with_Buttons_Bottom.ui                                        
                
                
                    Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\320x240
                
                
                Mode                 LastWriteTime         Length Name                                                                 
                ----                 -------------         ------ ----                                                                 
                -a----        25.07.2022     20:40           1488 Dialog_with_Buttons_Bottom.ui                                        
                
                
                    Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\480x640
                
                
                Mode                 LastWriteTime         Length Name                                                                 
                ----                 -------------         ------ ----                                                                 
                -a----        25.07.2022     20:40           1488 Dialog_with_Buttons_Bottom.ui                                        
                
                
                    Dir: E:\dev\qt6\qttools\src\designer\src\lib\shared\templates\forms\640x480
                
                
                Mode                 LastWriteTime         Length Name                                                                 
                ----                 -------------         ------ ----                                                                 
                -a----        25.07.2022     20:40           1488 Dialog_with_Buttons_Bottom.ui                                        
                

                In general, I need x32, but I did not specify it anywhere, I think it builds for x64 by default

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

                  What kind of disk is your E drive ?
                  From what shell are you starting your build ?

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

                  C 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    What kind of disk is your E drive ?
                    From what shell are you starting your build ?

                    C Offline
                    C Offline
                    continue98
                    wrote on last edited by
                    #10

                    @SGaist

                    What kind of disk is your E drive ?

                    what do you mean?

                    From what shell are you starting your build ?

                    powershell visual studio

                    alt text

                    SGaistS 1 Reply Last reply
                    0
                    • C continue98

                      @SGaist

                      What kind of disk is your E drive ?

                      what do you mean?

                      From what shell are you starting your build ?

                      powershell visual studio

                      alt text

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      @continue98 said in Build error 6.4 (configure):

                      @SGaist

                      What kind of disk is your E drive ?

                      what do you mean?

                      What kind of medium is it ? Network drive, Internal, USB, etc ?

                      From what shell are you starting your build ?

                      powershell visual studio

                      alt text

                      Then use a normal shell, if memory serves well, you should have somewhere a set of links which opens a Visual Studio activated environment. If not, then do it manually.

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

                      C 1 Reply Last reply
                      1
                      • SGaistS SGaist

                        @continue98 said in Build error 6.4 (configure):

                        @SGaist

                        What kind of disk is your E drive ?

                        what do you mean?

                        What kind of medium is it ? Network drive, Internal, USB, etc ?

                        From what shell are you starting your build ?

                        powershell visual studio

                        alt text

                        Then use a normal shell, if memory serves well, you should have somewhere a set of links which opens a Visual Studio activated environment. If not, then do it manually.

                        C Offline
                        C Offline
                        continue98
                        wrote on last edited by continue98
                        #12

                        @SGaist

                        What kind of medium is it ? Network drive, Internal, USB, etc ?

                        local hard drive (installed in my computer, not a network drive or flash drive)

                        Then use a normal shell, if memory serves well, you should have somewhere a set of links which opens a Visual Studio activated environment. If not, then do it manually.

                        Its normall shell... with settings for visual studio (just google about it), but still, for the sake of interest, I'll try to do it all through cmd

                        UPD: Nothing has changed through the command line (normal shell)

                        M 1 Reply Last reply
                        0
                        • C continue98

                          @SGaist

                          What kind of medium is it ? Network drive, Internal, USB, etc ?

                          local hard drive (installed in my computer, not a network drive or flash drive)

                          Then use a normal shell, if memory serves well, you should have somewhere a set of links which opens a Visual Studio activated environment. If not, then do it manually.

                          Its normall shell... with settings for visual studio (just google about it), but still, for the sake of interest, I'll try to do it all through cmd

                          UPD: Nothing has changed through the command line (normal shell)

                          M Offline
                          M Offline
                          mchinand
                          wrote on last edited by
                          #13

                          @continue98 said in Build error 6.4 (configure):

                          UPD: Nothing has changed through the command line (normal shell)

                          Delete your entire build directory and any CMake cache directories after switching to a cmd shell.

                          C 1 Reply Last reply
                          1
                          • M mchinand

                            @continue98 said in Build error 6.4 (configure):

                            UPD: Nothing has changed through the command line (normal shell)

                            Delete your entire build directory and any CMake cache directories after switching to a cmd shell.

                            C Offline
                            C Offline
                            continue98
                            wrote on last edited by
                            #14

                            @mchinand it still causes a problem

                            jsulmJ 1 Reply Last reply
                            0
                            • C continue98

                              @mchinand it still causes a problem

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #15

                              @continue98 said in Build error 6.4 (configure):

                              it still causes a problem

                              Same problem? Another one?

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

                              C 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @continue98 said in Build error 6.4 (configure):

                                it still causes a problem

                                Same problem? Another one?

                                C Offline
                                C Offline
                                continue98
                                wrote on last edited by
                                #16

                                @jsulm Same

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

                                  Can you show how you started and prepared your command line before building Qt ?

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

                                  C 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    Can you show how you started and prepared your command line before building Qt ?

                                    C Offline
                                    C Offline
                                    continue98
                                    wrote on last edited by
                                    #18

                                    @SGaist said in Build error 6.4 (configure):

                                    Can you show how you started and prepared your command line before building Qt ?

                                    Just run this:

                                    e3ad1585-7635-43db-bcb7-c86170bc7a36-изображение.png

                                    And run this command:

                                    1. git clone git://code.qt.io/qt/qt5.git qt6
                                    2. git checkout 6.4
                                    3. perl init-repository
                                    4. mkdir build
                                    5. cd build
                                    6. ../configure.bat -prefix E:/dev/qt6_install
                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #19

                                      Can you just test if an x64 build works ?

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

                                      C 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        Can you just test if an x64 build works ?

                                        C Offline
                                        C Offline
                                        continue98
                                        wrote on last edited by
                                        #20

                                        @SGaist all the same. I take version 6.4, maybe some other one is needed?

                                        1 Reply Last reply
                                        0
                                        • C Offline
                                          C Offline
                                          continue98
                                          wrote on last edited by
                                          #21

                                          i resolved this. Perhaps someone will be useful. I had cmake 3.24-rc4 and they broke something with it. Here is the link: https://gitlab.kitware.com/cmake/cmake/-/issues/23759

                                          Rolled back cmake to 3.23.3, everything works fine

                                          @SGaist thk for trying to help

                                          1 Reply Last reply
                                          1

                                          • Login

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