The program has unexpectedly finished. The process was ended forcefully.
-
I was created a basic start-up application. if i was run then it will shows an error....
Starting E:\QT_1\build-untitled1-Desktop_Qt_5_10_0_MinGW_32bit Debug\debug\untitled1.exe...
The program has unexpectedly finished.
The process was ended forcefully.
E:/QT_1/build-untitled1-Desktop_Qt_5_10_0_MinGW_32bit-Debug/debug/untitled1.exe crashed.Error:
-
Run it with a debugger (F5) and it will show you exactly where the crash is happening.
A crash is usually caused by a dangling pointer.
-
Hi
Is it a clean default GUI project that crashes ?You are using the mingw compiler that came with Qt ?
No custom install of compiler was used, correct ?Also what platform ?
-
-
@jsulm
I doesn't have any anti-virus software's on my PC.
if i was tried to select new project--> non-QT project --> plain c++ application.
it will worked. but new project --> Application --> Qt widgets application (or) Qt Console and reaming application didn't work. -
this is my .pro file and doesn't use any cross compilers on it.
#-------------------------------------------------Project created by QtCreator 2019-10-03T11:59:25
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = untitled1
TEMPLATE = appThe following define makes your compiler emit warnings if you use
any feature of Qt which has been marked as deprecated (the exact warnings
depend on your compiler). Please consult the documentation of the
deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
You can also make your code fail to compile if you use deprecated APIs.
In order to do so, uncomment the following line.
You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES +=
main.cpp
mainwindow.cppHEADERS +=
mainwindow.hFORMS +=
mainwindow.ui