Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Installation Error On Windows System
Qt 6.12 LTS is out! See what's new in the release blog

Qt Installation Error On Windows System

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
18 Posts 6 Posters 6.8k 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
    Shrishashank
    wrote on last edited by
    #8
    This post is deleted!
    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher

      Remove perl from your path so MSVC is correctly picked up instead the gcc from perl as you can see in the output.

      S Offline
      S Offline
      Shrishashank
      wrote on last edited by
      #9

      @Christian-Ehrlicher I did try to (Remove Perl from your path so MSVC ) is giving the same issue

      Christian EhrlicherC 1 Reply Last reply
      0
      • S Shrishashank

        @Christian-Ehrlicher I did try to (Remove Perl from your path so MSVC ) is giving the same issue

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #10

        @Shrishashank said in Qt Installation Error On Windows System:

        is giving the same issue

        For sure not - then gcc. exe from the perl path would not get picked up - start with a clean build dir!
        what does cl.exe prints out?

        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 Offline
          S Offline
          Shrishashank
          wrote on last edited by
          #11

          okay, now I have configured it after giving your suggestions, Thank You to everyone.

          I have one more issue now while building help me resolve it. imgpsh_fullsize_anim (6).jpeg imgpsh_fullsize_anim (7).jpeg

          showing it failed while I was building using this command as suggested in Documentation: cmake --build . --parallel 4

          JonBJ 1 Reply Last reply
          0
          • S Shrishashank

            okay, now I have configured it after giving your suggestions, Thank You to everyone.

            I have one more issue now while building help me resolve it. imgpsh_fullsize_anim (6).jpeg imgpsh_fullsize_anim (7).jpeg

            showing it failed while I was building using this command as suggested in Documentation: cmake --build . --parallel 4

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by JonB
            #12

            @Shrishashank
            Read the final error message at least. It tells you that you are mixing x86 and x64 object files/libraries. Looks like you are building for 64-bit but asking it to link with a 32-bit version of the "zip" library stuff.

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

              Pass -qt-zlib to make sure the qt zlib is used and not from somewhere in your OS.

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

              S 1 Reply Last reply
              1
              • Christian EhrlicherC Christian Ehrlicher

                Pass -qt-zlib to make sure the qt zlib is used and not from somewhere in your OS.

                S Offline
                S Offline
                Shrishashank
                wrote on last edited by
                #14

                @Christian-Ehrlicher Do you mean I need to pass in Cmake

                Christian EhrlicherC 1 Reply Last reply
                0
                • S Shrishashank

                  @Christian-Ehrlicher Do you mean I need to pass in Cmake

                  Christian EhrlicherC Offline
                  Christian EhrlicherC Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #15

                  @Shrishashank said in Qt Installation Error On Windows System:

                  Do you mean I need to pass in Cmake

                  What does this mean? You don't call cmake anywhere but configure.bat - and this batch file has a '--help' option where you can find all possible options. One of them is '-qt-zlib'.

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

                  S 1 Reply Last reply
                  1
                  • Christian EhrlicherC Christian Ehrlicher

                    @Shrishashank said in Qt Installation Error On Windows System:

                    Do you mean I need to pass in Cmake

                    What does this mean? You don't call cmake anywhere but configure.bat - and this batch file has a '--help' option where you can find all possible options. One of them is '-qt-zlib'.

                    S Offline
                    S Offline
                    Shrishashank
                    wrote on last edited by
                    #16

                    @Christian-Ehrlicher Okay I get it now, ThankYou

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Shrishashank
                      wrote on last edited by
                      #17

                      Thank You to Everyone who helped me resolve this issue. I'm successfully building the Qt source code.

                      1 Reply Last reply
                      0
                      • S Shrishashank has marked this topic as solved on
                      • S Shrishashank has marked this topic as unsolved on
                      • S Offline
                        S Offline
                        Shrishashank
                        wrote on last edited by Shrishashank
                        #18

                        Hello all, Six days ago, I posted that this issue was solved, but I encountered one more issue while building Qt-SourceCode on Windows.
                        imgpsh_fullsize_anim (8).jpeg

                        Could you help me to resolve this issue.

                        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
                        • Unsolved