qt5 - qtcreator opencv application exits on button click with error message -
when run opencv application in qt , don't display images , click exit, program outputs this.
starting /home/ubuntu/documents/opencvwork/opencvinterface/build-opencvinterface-desktop-release/opencvinterface... /home/ubuntu/documents/opencvwork/opencvinterface/build-opencvinterface-desktop-release/opencvinterface exited code 0 this happens when select image displayed application, hit exit.
starting /home/ubuntu/documents/opencvwork/opencvinterface/build-opencvinterface-desktop-release/opencvinterface... pure virtual method called terminate called without active exception program has unexpectedly finished. /home/ubuntu/documents/opencvwork/opencvinterface/build-opencvinterface-desktop-release/opencvinterface crashed here code i'm using close windows pop up. i'm using imshow in opencv display images, i'm not sure if has problem.
void opencv_window::on_destroywindowbutton_clicked() { destroyallwindows(); } void opencv_window::on_exitbutton_clicked() { destroyallwindows(); close(); }
Comments
Post a Comment