PDA

View Full Version : Help with simple GUI application with OpenCV library



CodeHunt
25th March 2012, 21:25
Hi,

I am new to Qt and OpenCV. I am using OpenCV2.2 + Qt 4.8 for VC++ 10. I am able to build a console application and do what I want ( Loading and Saving a JPEG without change in file size and having no intention performing any operations on it )
Now I want to build a simple GUI app that has two buttons open and save. I want load a JPEG from my HDD and save it desired location and desired name on clicking the save button. I am having hiccups with accomplishing it. You can find the code of my project below. Please help me out.

I would like to appreciate any help in advance.
Thanks

7529

7530

7531

ChrisW67
25th March 2012, 23:05
What doesn't work about it?

CodeHunt
25th March 2012, 23:57
LOADSAVE.CPP couldn't handle the temp file format from QString . . I sorted out the solution for it though.

Thanks :)