Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt official build configuration for Windows?
Qt 6.11 is out! See what's new in the release blog

Qt official build configuration for Windows?

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 1.4k 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.
  • GPBetaG Offline
    GPBetaG Offline
    GPBeta
    wrote on last edited by
    #1

    Hello everyone,
    I just wonder where I can find the configuration (command line options) of official pre-build for Windows?

    I've tried to build Qt from source but it just doesn't work completely the same as the official build, so that I need the have a look at the pre-build configuration.

    Any ideas?

    \BAKA BAKA/

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

      Hi,

      What isn't the same ?

      You can start from the CI Overview page.

      Then for a specific OS, you can check the corresponding builds like for example here.

      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
      2
      • GPBetaG Offline
        GPBetaG Offline
        GPBeta
        wrote on last edited by GPBeta
        #3

        Hi @SGaist ,
        thank you for the information.

        Currently I found 2 problems with my custom build:

        1. -openssl-runtime doesn't work. libeay32.dll and ssleay32.dll won't get loaded.
          But after a little bit look at the CI configuration, I found that official builds are using openssl v1.0.2o, while I'm providing the v1.1.0 one, so I think this make the difference.
        2. -qt-freetype doesn't work.
          With the official build, I could add -platform windows:fontengine=freetype command line option to force Qt to create QWindowsFontDatabaseFT backend. But my custom build can't, QWindowsFontDatabase is always created.

        \BAKA BAKA/

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

          What version of Qt are you building ? OpenSSL 1.1 support is available since Qt 5.10.
          What options are you using ?

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

          GPBetaG 1 Reply Last reply
          1
          • SGaistS SGaist

            What version of Qt are you building ? OpenSSL 1.1 support is available since Qt 5.10.
            What options are you using ?

            GPBetaG Offline
            GPBetaG Offline
            GPBeta
            wrote on last edited by GPBeta
            #5

            @SGaist I tried both Qt 5.11.1 and 5.11.2 resulting the same problems.
            Here's my configuration:

            <PATH_TO_QT_SOURCE>\configure ^
             -opensource -confirm-license -release ^
             -qt-zlib -qt-freetype -opengl dynamic -openssl-runtime ^
             -nomake examples -nomake tests -skip qtwebengine ^
             -prefix "<PATH_TO_INSTALL>\5.11.2\msvc2017_64" ^
             OPENSSL_PREFIX="<PATH_TO_OPENSSL>" ^
             OPENSSL_INCDIR="<PATH_TO_OPENSSL>\include"
            

            \BAKA BAKA/

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

              Where are you storing libeay32.dll and ssleay32.dll when running your application ?

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

              GPBetaG 1 Reply Last reply
              0
              • SGaistS SGaist

                Where are you storing libeay32.dll and ssleay32.dll when running your application ?

                GPBetaG Offline
                GPBetaG Offline
                GPBeta
                wrote on last edited by
                #7

                @SGaist they are both located in the same directory as the app exe. Also tried putting them in the qt installation bin directory, but it doesn't help.

                \BAKA BAKA/

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

                  Then a silly question, are you sure you have the support that has been properly built ?

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

                  GPBetaG 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Then a silly question, are you sure you have the support that has been properly built ?

                    GPBetaG Offline
                    GPBetaG Offline
                    GPBeta
                    wrote on last edited by
                    #9

                    @SGaist
                    Finally I ended up with local deploying all the Qt binaries, Thank you for the help!

                    \BAKA BAKA/

                    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