Note that there are some explanatory texts on larger screens.

plurals
  1. POQt 4.8.2 With GCC 4.7.0.1 Keeps Crashing
    text
    copied!<p>I've downloaded Qt 4.8.2 library, Qt Creator 2.5.2, and manually installed MingW with w32api version 3.13 and GCC/g++ version 4.7.0.1. My OS is Windows 7 Ultimate x64.</p> <p>I can create a sample "Plain C++ project" in Qt Creator; compile and run that console application using g++ without any issue.</p> <p>But I cannot <strong>run</strong> a Qt application. I used Qt Creator, created a dummy Qt Application using Creator's "Qt Gui Application" template. The project can be compiled successfully, without any error or warning. But the binary keeps crashing when I try to run (both from <code>Qt Creator</code> and <code>Windows Explorer</code>) it. Both debug and release builds crash. It crashes even before showing main window.</p> <p>MingW is installed in <code>C:\MingW</code> and <code>C:\MingW\bin</code> is in <code>PATH</code>. Qt is installed in <code>C:\Qt\4.8.2</code> and <code>C:\Qt\4.8.2\bin</code> is in <code>PATH</code>.</p> <p>I analyzed generated exe of the Qt Gui Application output with Dependency Walker and found that it found all required DLLs:</p> <ul> <li>c:\windows\system32\KERNEL32.DLL</li> <li>c:\windows\system32\MSVCRT.DLL</li> <li>c:\mingw\bin\LIBGCC_S_DW2-1.DLL</li> <li>c:\mingw\bin\LIBSTDC++-6.DLL</li> <li>c:\qt\4.8.2\bin\QTCORE4.DLL</li> <li>c:\qt\4.8.2\bin\QTGUI4.DLL</li> </ul> <p>So, what's causing the runtime crash?</p> <p><strong>EDIT</strong></p> <p>I also tried Qt's example projects: 2dpainting and addressbook - both crashed when they were launched.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload