[Qt-interest] cant inherit Qmainwindow

Sean Harmer sean.harmer at maps-technology.com
Fri Mar 27 10:48:26 CET 2009


Hi,

On Friday 27 March 2009 09:33:52 RPREMANAND RPREMANAND wrote:
> i have the source.qt-x11-eval-src-4.4.1.
> when i tried to create a basic applictn by inheriting Qwidget and
> QMainwindow
> but cant inherit qmainwindow or qwidget.iget the errors
> main does not  have return type ,
> main cant retrun other than int data type.
> i i htink i have problem with env varbles or lib files.
> can u suggets me a solution early possilble.
Please post your code. It sounds like you have a basic C++ error to do with 
the return type of your int main() function. Can't tell where you are going 
wrong without seeing code though.

Sean



More information about the Qt-interest-old mailing list