This is a continuation from my previous post :
http://www.qtcentre.org/forum/f-qt-t...tor-25741.html

After creating a custom widget called "MyClock", I added it to a form and tried to compile it. But unfortunately I am getting build errors :

mainwindow.cpp.text._ZN13Ui_MainWindow7setupUiEP11QMainWindow[Ui_MainWindow::setupUi:-1: error: undefined reference to `MyClock::MyClock(QWidget*)'
I added the include path of MyClock.h to the build environment, but the generated Makefile is not reflecting this path.

On a sidenote, I tried adding some of the example plugins like tic tac toe and world clock provided in the Display Widgets [ Examples ] group of Qt Designer. All of them give me the same errors while trying to build the app.