pokemon-speedrunning / gambatte-speedrun

Fork of https://github.com/sinamas/gambatte with Pokemon speedrunning-related changes.
GNU General Public License v2.0
94 stars 27 forks source link

Fix crashes when building with Qt 5.11+ on Windows. #46

Closed entrpntr closed 4 years ago

entrpntr commented 4 years ago

Fixes #17.

The main fix was removing moveEvent and nativeEvent, which seemed to be incorrectly triggered on app startup, and did not appear to serve any useful purpose. Unclear why this did not result in segfaults until Qt 5.11+ for Windows, but versions up to 5.15 all work now with the fix.

Some other changes were made to support an eventual MSVC build.