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. Error building static library for 5.15.8
Forum Updated to NodeBB v4.3 + New Features

Error building static library for 5.15.8

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 390 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.
  • P Offline
    P Offline
    Paul Dallas
    wrote on last edited by
    #1

    We have been using Qt 5.12.2. so I tried to upgrade to 5.15.8 but ran into some problems.

    I downloaded the 5.15..8 sources and configured Qt :

    E:\Qt\5.15.8\Src\configure -platform win32-g++ -static -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -no-openssl -make libs -nomake tools -nomake examples -nomake tests -prefix "E:\Qt\Static\5.15.8" -commercial

    The configuration succeeded and I tried to build the static library with mingw32-make

    This failed with the following error:

    cd tools\moc\ && ( if not exist Makefile E:\Qt\Static\5.15.8\qtbase\bin\qmake.exe -o Makefile E:\Qt\5.15.8\Src\qtbase\src\tools\moc\moc.pro ) && mingw32-make -f Makefile
    Project ERROR: Unknown module(s) in QT: bootstrap-private
    mingw32-make[2]: *** [Makefile:130: sub-moc-make_first] Error 3
    mingw32-make[2]: Leaving directory 'E:/Qt/Static/5.15.8/qtbase/src'
    mingw32-make[1]: *** [Makefile:54: sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'E:/Qt/Static/5.15.8/qtbase'
    mingw32-make: *** [Makefile:91: module-qtbase-make_first] Error 2

    I presume I have failed to install some pre-requisite, but I don't know what is missing.

    How do I get this to build so that I can try to build the project file?

    Thanks.

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

      Since 5.15.8 is commercial only I would suggest asking the Qt support for help.

      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
      0
      • Christian EhrlicherC Christian Ehrlicher

        Since 5.15.8 is commercial only I would suggest asking the Qt support for help.

        S Offline
        S Offline
        SteHie
        wrote on last edited by
        #3

        @Christian-Ehrlicher
        Do not use a "-" in prefix...

        WRONG:
        ./configure -release -prefix /usr/local/Qt-5.15.8

        OK:
        ./configure -release -prefix /usr/local/Qt5.15.8

        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