Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.2
-
Qt 5.12.2, Windows 7 Pro, Visual Studio Community 2017, VS Qt Tools addon 2.3.2
Description
When using QFileDialog, the program will crash in 2 minutes since first call of open/exec method. It does not matter if dialog is created on the stack or by calling "new".
The crash occurs only on 32-bit architecture in debug mode on Windows 7 Pro. Win10 does not seem to have this issue. Release mode as well as 64-bit are unaffected. Program won't crash if we set dialog option QFileDialog:: DontUseNativeDialog.
I suspected some background service screwing things up, until release mode worked fine. Now I have no suspects as why would this happen.
All I can offer is the minimalistic code I was able to reproduce the error with. Also it only happens from inside the visual studio. I tried to deploy the debug version so it is standalone and so far I have not encountered any crash.
stack overflow link: https://stackoverflow.com/questions/55569734/after-using-qfiledialog-program-crashes-after-few-seconds
EDIT: Program crashes even when compiling in Release mode, however it does not crash when deployed. It has to be something with visual studio.