Linker error 2019: Opencv 2.3 and qt 4.7.4
 
                                                
                                                
                                                
                                                
                                            
                                                                                Hello everyone! I need help on this:
I'm using opencv (of which I have installed all the available updates and upgrades) and qt. I have added all the all the relevant upgrades to CVLoadImage but as soon as I enter any data it crashes. Please see the following for more information on how I am treating it:
The code I wrote:
void MainWindow: n_pushButton_clicked()
{
img = cvLoadImage("C:\Users\MLS-PROGRAMER\Documents\Visual Studio 2010\Projects\Image_processing\Image_processing \thres.png"); // cvNamedWindow("Image",CV_WINDOW_AUTOSIZE);
// cvShowImage("Image", img);
// cvWaitKey(40);
}
Error Message:
mainwindow.obj:-1: error: LNK2019: unresolved external symbol _cvLoadImage referenced in function "private: void __thiscall MainWindow: n_pushButton_clicked(void)" (?on_pushButton_clicked@MainWindow@@AAEXXZ)
 
                                            
                                            
                                            
                                         
		 
 
                                         
                                                         
                                                            







