Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Installation and Deployment
    2
    4
    1780
    Loading More Posts
    • 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
      sidneylawal last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • S
          sidneylawal last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • First post
              Last post