Unsolved The program has unexpectedly finished. The process was ended forcefully.
-
@aha_1980
i tried console c++ program but doesn't work
-
@Sekhar Do you have any anti-virus software running?
-
@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. -
@Sekhar Is E: a local drive or a network drive?
-
I suspect the 64 bit issue. Please show us the .pro file and the whole project.
-
@CroCo I doubt: he uses a 32bit Qt with 32bit compiler, works fine even on 64bit Windows.
-
@jsulm he claims that but hard to tell if this is the case. We need to know when Qt installed which compiler being used. I recall long time ago similar problem occurred with me.
-
@CroCo See the screenshots above and the build logs in QtCreator
-
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 -
@Sekhar do you have another version of mingw in your system? Also, when you installed Qt, which compiler did you use? Moreover, can you show the environment variables related to MinGW and Qt?
-
@jsulm
E: is my local drive not a network drive. -
@CroCo
I think this is you want it.