[How to Solve]During startup program exited with code 0xc*

how to fix qt creator failed due to startup error

 

In this simple tutorial I will show you mostly causes of During startup program exited with code 0xc* or The program has unexpectedly finished. I will show you what to do what to do when errors occurs on Qt Creator / QtSDK with C/C++ but it may be applied on .Net and C/C++. In the next words I will give a simple trick/ a simple hint which may help you to solve your problem.

How During startup program exited with code 0xc* or The program has unexpectedly finished looks like:

qt errur during startup program

and

the program has unexpectedly crashed

What causes During startup program exited with code 0xc* Error on Qt and C/C++ ?

The main reasons which cause this error:

1.You haven’t correctly included your dependencies on your Project File (.pro file on Qt)
Example of dependencies correctly included:

 INCLUDEPATH += C:\Libs\C\curl-7.34.0-devel-mingw32\include
 LIBS += C:\Libs\C\curl-7.34.0-devel-mingw32\lib\libcurldll.a

2. You have not copied libs/dependencies files on the same folder with your output executable or in debug/release folder.

3. The binary files are not made for your compiler or was built with another compiler.

How to solve Qt – During startup program exited with code 0xc* :

1. Make sure you have correctly included dependencies in your project.

2. Copy dependencies (.dll files) inside your application folder (release/debug).

3. If the problem persist and you have source code of dependencies you have to build libs yourself (search on google).

4.After you made these you have  to clean your project: Left Corner – UP : Right Click  on project name >> Clean and then Right Click  on project name >> Run qmake (looks here if not clear how to clean: http://howtofix.pro/qt-creator-lnk-2019-unresolved-external-symbol-fast-trick/

Conclusions:

These trick helps me a lot and now I hope will help you to solve your During startup program exited with code 0xc* error too.

Related posts:

3 Comments on "[How to Solve]During startup program exited with code 0xc*"

  1. Ron says:

    Wow so BS, Every website i go to says Just
    Do it, No one ever says how to -> procedure , they just say just do dependency wtf is that even mean??
    cant u explain in steps rather than being a self entitled prick

  2. Ron - same as above says:

    Yea I agree with the previous guy, these guys act like they know everything , if you do why dont you explain clearly how to solve it , rather than just saying go to google, i went and ended up here, where do u copy the dlls? , not everyone knows what you even mean by that

  3. admin says:

    You have to copy the .dll files of dependencies in Debug/Release folder which you will find in same folder with your project.

Got something to say? Go for it!