Errors Building Qt 5.3.2 Static

  • So I am attempting to build Qt Static 5.3.2. The build is being automated by a windowspowershell script I found at I am getting errors I don't fully understand, because I have verified the existence of the following files in the source, and I have checked to see if they have been copied to the correct directory and they are there.

    Here is the configure line:
    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

    here is the error

    copy /y C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\examples\widgets\    C:\Qt\Static\5.3.2\examples\widgets
            1 file(s) copied.
    mingw32-make[3]: Target 'install' not remade because of errors.
    mingw32-make[3]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase/examples/widgets'
    Makefile:415: recipe for target 'sub-widgets-install_subtargets' failed
    mingw32-make[2]: *** [sub-widgets-install_subtargets] Error 2

    copy /y C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\examples\README C:\Qt\Static\5.3.2\examples
    1 file(s) copied.
    mingw32-make[2]: Target 'install' not remade because of errors.
    mingw32-make[2]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase/examples'
    Makefile:78: recipe for target 'sub-examples-install_subtargets' failed
    mingw32-make[1]: *** [sub-examples-install_subtargets] Error 2

    xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\doc\global C:\Qt\Static\5.3.2\doc\global
    59 File(s) copied
    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.