SOLVED: Application can't start
-
Hello,
I got a "file not recognized: file truncated...main.o error" whenever I tried to build my app and I deleted the debug and release directories so Qt could build from scratch. Qt was finally able to build, but the app can't run after building. Please advise on how to go about it.Thanks in advance
-
Hi,
Without any error message it would be only guessing so:
- What OS are you working on ?
- Which version of Qt are you using ?
- What compiler are you using ?
- What error message do you get ?
-
Maybe a problem with the kits? Or your trying to run a debug application outside a debugger environment. As SGalst said, more info please.
-
OS platform: Windows 7 64-bit
Qt version: 5.0.1
Compiler: MinGW 4.7 32-bit
Build Errors: NoneAdditional info
I have been monitoring the application from task manager. Before this problem, the application's process would run on 34mb of memory. But when I start Qt and build, it appears in the task manager processes and disappears when it reaches around 13mb of memory without showing up on the desktop. When I build for the second or third time it doesn't even show up in the task manager processes -
Does it also happen with a default constructed application ? (new project -> Qt GUI application and just build and run)
-
Can you share what the problem was ? That might be useful to others
-
Do you mean starting from QtCreator or directly in the folder containing your executable ?
-
When you are starting your application outside of QtCreator, the same rules applies as in the "deployment":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html documentation