[Qt-interest] HIGH_PRIORITY_ERROR
Sujan Dasmahapatra
sdh at lmglasfiber.com
Fri Feb 6 07:58:57 CET 2009
Dear Friends
I have a UI header file and from there I have created another header
file where in the class I have declared a private member as
Ui::MainWindow ui;
Now in my .cpp file I am trying to call the UI header's steupUi(this)
function and it gives the following error on compilation..Please let me
know the reseaon..Thanks
LMG_GUI_Design_CFD.cpp: In constructor
`DisplayMainWindow::DisplayMainWindow(QWidget*)':
LMG_GUI_Design_CFD.cpp:5: error: no matching function for call to
`Ui::MainWindow::setupUi(DisplayMainWindow* const)'
ui_LMG_GUI_Design_CFD.h:85: note: candidates are: void
Ui_MainWindow::setupUi(QMainWindow*)
Kind regards,
LM Glasfiber R&D (India) Pvt. Ltd.
Sujan Dasmahapatra
Project Engineer - CFD
Telephone: +91 80 66470248
Mobile: +919900839788
E-mail: sdh at lmglasfiber.com <mailto:sdh at lmglasfiber.com>
--------------------------------------------------------------
This e-mail and any attachments are confidential. If you are not the
named or intended recipient, please notify the sender immediately and do
not disclose the contents to any other person, use it for any purpose or
store or copy the information in any medium. Any unauthorized
disclosure, use or storage is prohibited and might be unlawful.
-------------------------------------------------
This E-mail and any attachments are confidential. If you are not the named or intended receipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose or store or copy the information in any medium. Any unauthorized disclosure, use or storage is prohibited and might be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090206/59344a4c/attachment.html
More information about the Qt-interest-old
mailing list