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)
Forum Update on Monday, May 27th 2025

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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 26 Jul 2022, 16:01 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 26 Jul 2022, 17:10
    0
    • S SGaist
      26 Jul 2022, 16:01

      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 26 Jul 2022, 17:10 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
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 26 Jul 2022, 17:46 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 26 Jul 2022, 18:43
        0
        • S SGaist
          26 Jul 2022, 17:46

          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 26 Jul 2022, 18:43 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
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 26 Jul 2022, 18:46 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 26 Jul 2022, 20:04
            0
            • S SGaist
              26 Jul 2022, 18:46

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

              C Offline
              C Offline
              continue98
              wrote on 26 Jul 2022, 20:04 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

              S 1 Reply Last reply 26 Jul 2022, 20:28
              0
              • C continue98
                26 Jul 2022, 20:04

                @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

                S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 26 Jul 2022, 20:28 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 26 Jul 2022, 21:52
                1
                • S SGaist
                  26 Jul 2022, 20:28

                  @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 26 Jul 2022, 21:52 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 27 Jul 2022, 01:50
                  0
                  • C continue98
                    26 Jul 2022, 21:52

                    @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 27 Jul 2022, 01:50 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 27 Jul 2022, 12:34
                    1
                    • M mchinand
                      27 Jul 2022, 01:50

                      @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 27 Jul 2022, 12:34 last edited by
                      #14

                      @mchinand it still causes a problem

                      jsulmJ 1 Reply Last reply 27 Jul 2022, 12:47
                      0
                      • C continue98
                        27 Jul 2022, 12:34

                        @mchinand it still causes a problem

                        jsulmJ Online
                        jsulmJ Online
                        jsulm
                        Lifetime Qt Champion
                        wrote on 27 Jul 2022, 12:47 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 27 Jul 2022, 14:11
                        0
                        • jsulmJ jsulm
                          27 Jul 2022, 12:47

                          @continue98 said in Build error 6.4 (configure):

                          it still causes a problem

                          Same problem? Another one?

                          C Offline
                          C Offline
                          continue98
                          wrote on 27 Jul 2022, 14:11 last edited by
                          #16

                          @jsulm Same

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 27 Jul 2022, 18:16 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 27 Jul 2022, 21:30
                            0
                            • S SGaist
                              27 Jul 2022, 18:16

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

                              C Offline
                              C Offline
                              continue98
                              wrote on 27 Jul 2022, 21:30 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
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 28 Jul 2022, 21:12 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 29 Jul 2022, 21:03
                                0
                                • S SGaist
                                  28 Jul 2022, 21:12

                                  Can you just test if an x64 build works ?

                                  C Offline
                                  C Offline
                                  continue98
                                  wrote on 29 Jul 2022, 21:03 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 28 Aug 2022, 23:27 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