While I develop a small GUI application using Qt Creator (MinGW in Windows), the compilation is successful, and the binary is generated. But application is not ran, it gets crashed.
Below is my configuration setup: Qt Version: 4.8.2 MinGW: compilerpath: C:\\MinGW\\bin\\g++
debugger: C:\\MinGW\\bin\\gdb
If I don't use Qt classes ( QApplication
, QWidget
or QString
), it works fine. I mean if I use std
lib functions, it works fine.
Can any one suggest please?
What is your g++ version? You need to use g++-4.4 with Qt binaries downloaded from their site.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.