Qt Application segmentation fault with MinGW 4.7.2

前端 未结 1 1815
失恋的感觉
失恋的感觉 2021-01-06 07:56

Using MinGW 4.7.2 every compiled Qt 4 application crashes - even programs that ran before.

  • MinGW: 4.7.2
  • QT: 4.8.3<
相关标签:
1条回答
  • 2021-01-06 08:42

    You will need MinGW 4.4. To use MinGW 4.7.2, you need to compile Qt yourself with it. The crash is due to ABI incompatibilities between the MinGW versions.

    See this on how to build Qt:

    http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW

    In general, when downloading Qt, pay attention to the MinGW version it's been built with. If you want to use your own MinGW installation, it'll need to be the same version as the one Qt was built with.

    0 讨论(0)
提交回复
热议问题