Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.9.1 Static build failing
Forum Updated to NodeBB v4.3 + New Features

Qt 5.9.1 Static build failing

Scheduled Pinned Locked Moved Solved Installation and Deployment
12 Posts 3 Posters 3.2k Views 1 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.
  • K Offline
    K Offline
    Kayote
    wrote on last edited by
    #3

    I am using version 1.0.2.

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

      Then a silly question, are you using a MinGW build of OpenSSL ?

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

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kayote
        wrote on last edited by
        #5

        Yes it's a MingGW build. I am using the exact same OpenSSL build as I used on my other PC which build successfully with Qt 5.5 and 5.6, so I really don't know why it wont work now.

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

          Can you show the configure options you used ?

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

          1 Reply Last reply
          0
          • K Kayote

            Yes it's a MingGW build. I am using the exact same OpenSSL build as I used on my other PC which build successfully with Qt 5.5 and 5.6, so I really don't know why it wont work now.

            jiancaiyangJ Offline
            jiancaiyangJ Offline
            jiancaiyang
            wrote on last edited by
            #7

            @Kayote OpenSSL relies on Windows internal cryto32 library, make sure all libaries are in good order to get a successful link.

            我们自己的论坛:http://qtdream.com
            擅长三维角色仿真动画。

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Kayote
              wrote on last edited by Kayote
              #8

              Hi again, sorry for the delay.

              I think I managed to solve the OpenSSL issue, by changing from openssl-linked to openssl. I'd rather just have it link against the libraries though, and I'm not sure why it don't want to do that on this machine.
              But... now there's another issue. After it has been compiling for 10+ minutes it suddenly just gets stuck at "Leaving directory". I tried building twice, but it happened both times, here is the messages: https://imgur.com/a/iPpKo

              Anyway, here is the configure options (from the static build powershell file)

              configure.bat -static -release -platform win32-g++ -prefix $QtDir `
                      -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -opengl desktop -openssl -I C:\OpenSSL-Win32\include -L C:\OpenSSL-Win32\lib `
                      -opensource -confirm-license `
                      -make libs -nomake tools -nomake examples -nomake tests
              

              Thanks for your help.

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

                Did you restart from scratch ?

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

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Kayote
                  wrote on last edited by
                  #10

                  Yes both times I deleted the whole folder with the files from the previous build so that shouldn't be why

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

                    Can you try to only build qtbase with OpenSSL ?

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

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      Kayote
                      wrote on last edited by
                      #12

                      I was about to do that, but first I just tried deleting everything, including the source files qt and started all over again. This seems to have fixed it! It managed to build successfully now and OpenSSL is working too. Thank you for your time :)

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