The program has unexpectedly finished
-
Hello:
I am a new user QT in Windows.
I want to take an example and learn from that example. But no matter what project you use, always get the error
"The program has unexpectedly finished"
I would greatly appreciate some help that will let me use QT
regards
Carlos789
"Starting C:\microchip\mla\v2016_04_27\apps\usb\device\vendor_basic\utilities\libusb_cross_platform_example\build-libusb_Demo-Desktop_Qt_5_7_0_MinGW_32bit-Debug\windows\libusb_Demo.exe...
The program has unexpectedly finished.
C:\microchip\mla\v2016_04_27\apps\usb\device\vendor_basic\utilities\libusb_cross_platform_example\build-libusb_Demo-Desktop_Qt_5_7_0_MinGW_32bit-Debug\windows\libusb_Demo.exe crashed." -
Hi and welcome to devnet,
Does it also happen with a default project generated with Qt Creator ?
-
Hello:
I am a new user QT in Windows.
I want to take an example and learn from that example. But no matter what project you use, always get the error
"The program has unexpectedly finished"
I would greatly appreciate some help that will let me use QT
regards
Carlos789
"Starting C:\microchip\mla\v2016_04_27\apps\usb\device\vendor_basic\utilities\libusb_cross_platform_example\build-libusb_Demo-Desktop_Qt_5_7_0_MinGW_32bit-Debug\windows\libusb_Demo.exe...
The program has unexpectedly finished.
C:\microchip\mla\v2016_04_27\apps\usb\device\vendor_basic\utilities\libusb_cross_platform_example\build-libusb_Demo-Desktop_Qt_5_7_0_MinGW_32bit-Debug\windows\libusb_Demo.exe crashed."I find that running under the debugger is useful under these circumstances. It gives you an error message about the cause and a stack trace.
Mike
-
I find that running under the debugger is useful under these circumstances. It gives you an error message about the cause and a stack trace.
Mike
@mjsurette
Hi:
The text that have the "Compiler Output" when I run "Build Project", is attached.
regards
Carlos16:16:49: Running steps for project libusb_Demo...
16:16:49: Configuration unchanged, skipping qmake step.
16:16:49: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/microchip/mla/v2016_04_27/apps/usb/device/vendor_basic/utilities/libusb_cross_platform_example/build-libusb_Demo-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
mingw32-make[1]: Nothing to be done for 'first'.
mingw32-make[1]: Leaving directory 'C:/microchip/mla/v2016_04_27/apps/usb/device/vendor_basic/utilities/libusb_cross_platform_example/build-libusb_Demo-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
16:16:50: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
16:16:50: Elapsed time: 00:01. -
Hi and welcome to devnet,
Does it also happen with a default project generated with Qt Creator ?
-
You provided the build output. What would be interesting is the debugger backtrace when your application crashes.
One thing you should check is that all the pointer you might be using are initialized and that you are not shadowing member variables in your constructors.
-
You provided the build output. What would be interesting is the debugger backtrace when your application crashes.
One thing you should check is that all the pointer you might be using are initialized and that you are not shadowing member variables in your constructors.