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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -