Unresolved externals when building using custom widget
-
Hi,
I am new to -QT- Qt programming.. I wanted to try creating a custom widget..
I created a sample one which just shows a rectangle using paintEvent function..
I added the control to Qt designer.. and it shows up fine..The problem im facing is that when i tried created a test app by just adding the custom contol..when i build it the following error comes.. I have added the lib fies to the project properties.. still this comes.. pls help me..
@Error 2 error LNK2019: unresolved external symbol "public: __thiscall CustomWgtApp::CustomWgtApp(class QWidget *)" (??0CustomWgtApp@@QAE@PAVQWidget@@@Z) referenced in function "public: void __thiscall Ui_TestAppClass::setupUi(class QMainWindow *)" (?setupUi@Ui_TestAppClass@@QAEXPAVQMainWindow@@@Z) C:\Users\Bhadran\Documents\Visual Studio 2010\Projects\CustomWgtApp\TestApp\testapp.obj TestApp
@
@Error 3 error LNK1120: 1 unresolved externals C:\Users\Bhadran\Documents\Visual Studio 2010\Projects\CustomWgtApp\TestApp.exe TestApp
@ -