Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Exceptions cause crash (Qt SDK 1.2.1 - Qt4.8.1, MinGW, windows)
dheide last edited by
I have an ugly problem and would appreciate any help!! My program crashes on windows any time there an exception is thrown, e.g.:
I'm using Qt 4.8.1 with MinGW in the QtCreator. I found quite a few discussions and tried
- rebuilding the source code with -exceptions
- adding QMAKE_CXXFLAGS += -fexceptions
but no change. Windows tells me that the program crashed at the point where I throw the error. Under Linux everything works fine.
Without wanting to discuss the pros and cons of using exceptions at all, I wonder if it's a problem with Qt or MinGW and what I can do to get rid of the problem.