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. Attempting to Install Qt Static 5.3.2 when I get the following error
Forum Updated to NodeBB v4.3 + New Features

Attempting to Install Qt Static 5.3.2 when I get the following error

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.0k 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.
  • S Offline
    S Offline
    sidneylawal
    wrote on last edited by
    #1

    So I wanted to build Qt Static so my application can run w/o the Qt. debugger following the instructions from link below.

    http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW

    The script I used is called Windows-build-qt-static.ps1.

    I executed the script in Windows Powershell as instructed and change the configure line parameters to build with 5.3.2 as oppose to 5.2.

    15 minutes into the build I got the following error.

    mingw32-make[1]: Target 'install' not remade because of errors.
    mingw32-make[1]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase'
    Makefile:75: recipe for target 'module-qtbase-install_subtargets' failed
    mingw32-make: *** [module-qtbase-install_subtargets] Error 2
    mingw32-make: Target 'install' not remade because of errors.

    I don't fully understand what goes on into the building of a developer's environment so any advice on solving this issue would be appreciated.

    EDIT: So I have dived into the script to see if I can figure out what's wrong.
    Here is the configure line as requested.
    cmd /c "configure.bat -static -debug-and-release -platform win32-g++ -prefix $QtDir -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sql-sqlite -no-openssl
    -opensource -confirm-license `
    -make libs -nomake tools -nomake examples -nomake tests"
    mingw32-make -k -j4
    mingw32-make -k install
    Pop-Location

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

      Hi and welcome to devnet,

      You should add the configure line you used to build Qt

      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
      • S Offline
        S Offline
        sidneylawal
        wrote on last edited by
        #3

        http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW

        I was building a Static Qt using the above instructions.

        The script I used is called Windows-build-qt-static.ps1.

        I am not sure what you mean by configure line But I executed the script in Windows Powershell as instructed and change the configure line parameters to build with 5.3.2 as oppose to 5.2.

        I attempted to build a Qt Static because I simply want to run my application on it's own w/o Qt's debugger.

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

          You can try contacting the "author":http://qt-project.org/mebmer/138204 of the article to see if he encountered that problem

          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

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved