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. Trying to Build Qt 5.13.2 for Windows
Forum Updated to NodeBB v4.3 + New Features

Trying to Build Qt 5.13.2 for Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 434 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.
  • D Offline
    D Offline
    DragonOsman
    wrote on last edited by
    #1

    I checked out 5.13.2 branch on the Git repository and installed and added the required stuff to the PATH variable.

    I have the OpenSSL and zlib installation directories in my PATH variable. And I also set the ZLIB_LIBS and OPENSSL_LIBS to the correct paths, respectively, and then tried to configure with:

    configure -release -opensource -confirm-license -platform win32-msvc2019 -feature-thread -zlib -qt-libjpeg -qt-libpng -openssl-linked -prefix C:/qt5/qtbase/win32-msvc2019 -feature-schannel -feature-securetransport 
    

    from a separate directory (out-of-source build) and I got this error:

    Running configuration tests...
    Checking for valid makespec... ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
    

    And for some reason it's also passing -top-level to configure.bat. What do I do? Any help is appreciated. Thanks.

    jsulmJ 1 Reply Last reply
    0
    • D DragonOsman

      I checked out 5.13.2 branch on the Git repository and installed and added the required stuff to the PATH variable.

      I have the OpenSSL and zlib installation directories in my PATH variable. And I also set the ZLIB_LIBS and OPENSSL_LIBS to the correct paths, respectively, and then tried to configure with:

      configure -release -opensource -confirm-license -platform win32-msvc2019 -feature-thread -zlib -qt-libjpeg -qt-libpng -openssl-linked -prefix C:/qt5/qtbase/win32-msvc2019 -feature-schannel -feature-securetransport 
      

      from a separate directory (out-of-source build) and I got this error:

      Running configuration tests...
      Checking for valid makespec... ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
      

      And for some reason it's also passing -top-level to configure.bat. What do I do? Any help is appreciated. Thanks.

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

      @DragonOsman Check the configure log to see what exactly is the problem

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

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DragonOsman
        wrote on last edited by
        #3

        I've decided to give up trying to build it and am now installing the 5.13.2 binaries directly. I have the GnuWin32 stuff needed for Qt WebKit, though, and I'm wondering if I'm still going to need to build that or if the prebuilt binaries come with it already.

        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