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. Building Qt 5.5.1 with MinGW-w64

Building Qt 5.5.1 with MinGW-w64

Scheduled Pinned Locked Moved Solved Installation and Deployment
mingw64qt5.5.1qt5windows
4 Posts 2 Posters 3.3k 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.
  • ZenitFan219Z Offline
    ZenitFan219Z Offline
    ZenitFan219
    wrote on last edited by ZenitFan219
    #1

    Is it normal situation, when cofig tests failed?

    Running configuration tests...
    process_begin: CreateProcess(NULL, rm -f arch.o, ...) failed.
    make (e=2): Не удается найти указанный файл.
    process_begin: CreateProcess(NULL, rm -f arch.exe, ...) failed.
    make (e=2): Не удается найти указанный файл.
    process_begin: CreateProcess(NULL, rm -f Makefile, ...) failed.
    make (e=2): Не удается найти указанный файл.
    

    PS:
    translation from russian language:
    Не удается найти указанный файл == Can not find the file

    Error..

    C:/mingww64/bin/mingw32-make -f Makefile.Debug all
    mingw32-make[4]: Entering directory 'F:/Qt_Static/mingw_w64_objs/qtbase/src/widgets'
    QT_PLUGIN_PATH=/F/Qt_Static/mingw_w64_objs/qtbase/plugins PATH=/F/Qt_Static/mingw_w64_objs/qtbase/lib${PATH:+:$PATH} 'F:\Qt_Static\mingw_w64_objs\qtbase\bin\uic.exe' F:/Qt_Static/qt-everywhere-opensource-src-5.5.1/qtbase/src/widgets/dialogs/qfiledialog.ui -o .uic/ui_qfiledialog.h
    C:/mingww64/bin/mingw32-make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x00007FFD39B70BC4)
    Makefile:38: recipe for target 'debug-all' failed
    mingw32-make[3]: *** [debug-all] Error 255
    mingw32-make[3]: Leaving directory 'F:/Qt_Static/mingw_w64_objs/qtbase/src/widgets'
    Makefile:520: recipe for target 'sub-widgets-make_first' failed
    mingw32-make[2]: *** [sub-widgets-make_first] Error 2
    mingw32-make[2]: Leaving directory 'F:/Qt_Static/mingw_w64_objs/qtbase/src'
    Makefile:41: recipe for target 'sub-src-make_first' failed
    mingw32-make[1]: *** [sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'F:/Qt_Static/mingw_w64_objs/qtbase'
    Makefile:63: recipe for target 'module-qtbase-make_first' failed
    mingw32-make: *** [module-qtbase-make_first] Error 2
    

    How to fix this errors?

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

      The actual error is: Interrupt/Exception caught (code = 0xc0000005, addr = 0x00007FFD39B70BC4)
      Does your MinGW work? Did you try to build a small program using it?

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

      ZenitFan219Z 1 Reply Last reply
      0
      • jsulmJ jsulm

        The actual error is: Interrupt/Exception caught (code = 0xc0000005, addr = 0x00007FFD39B70BC4)
        Does your MinGW work? Did you try to build a small program using it?

        ZenitFan219Z Offline
        ZenitFan219Z Offline
        ZenitFan219
        wrote on last edited by ZenitFan219
        #3

        @jsulm

        Yes, MinGW-w64 compiler works:

        alt text

        (It is simple example application..)

        And Boost library was built successfully

        1 Reply Last reply
        0
        • ZenitFan219Z Offline
          ZenitFan219Z Offline
          ZenitFan219
          wrote on last edited by
          #4

          Qt (static link) building with MinGW-w64 compiler ends successfully only with this *.bat (run from MinGW-w64 environment (non cygwin or msys2)):

          SET _CD=%CD%
          SET _PATH=%PATH%
          
          SET QT_SOURCE=%_CD%\qt-everywhere-opensource-src-5.5.1
          SET QT_BUILD=%_CD%\mingw_w64_objs
          SET QT_DIST=%_CD%\mingw64_Static
          
          REM Building Qt
          
          SET PATH=C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%QT_SOURCE%\qtbase\bin;%QT_SOURCE%\gnuwin32\bin;c:\python27\;%PATH%;
          CALL C:\Ruby22-x64\bin\setrbvars.bat
          ECHO ON
          PATH
          PAUSE
          
          MKDIR %QT_BUILD%
          CD /D %QT_BUILD%
          PAUSE
          CALL %QT_SOURCE%\configure.bat -prefix %QT_DIST% -debug-and-release -static -opensource -confirm-license -no-icu -nomake tests -opengl desktop -no-compile-examples -no-plugin-manifests -no-audio-backend -no-native-gestures -skip qtandroidextras -skip qtactiveqt -skip qtconnectivity -skip qtdeclarative -skip qtlocation -skip qtmacextras -skip qtquick1 -skip qtquickcontrols -skip qtscript -skip qtsensors -skip qtserialport -skip qtwebengine -skip qtwebchannel -skip qtwayland -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtx11extras -developer-build
          ECHO ON
          PAUSE
          mingw32-make
          

          No problems.

          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