[Qt-wince-interest] error C2146: syntax error : missing '; ' before identifier 'wceMenu'

Johan Lantz johan.lantz at genaker.net
Thu Jan 7 13:40:27 CET 2010


Hi

I am trying to get the QT WinCE to work.

I have downloaded the CEpackage from the webserver. I have followed the 
instructions and configure, setcepaths and nmake appears to work, 
atleast I get no error.

However when creating a brand new project with the wizard I get this error:
error C2146: syntax error : missing ';' before identifier 'wceMenu'

which refers to this location:

#ifdef Q_WS_WINCE
    HMENU wceMenu(bool create = false);
#endif

I run on my regular Vista machine and there is only one QT instance 
installed.

However I have also installed and configured the same QT package on 
another XP computer which should have a very similar configuration but 
there it works.

Does anyone have any idea on why the HMENU is not being recognized above?

Thanks

Johan



More information about the Qt-wince-interest mailing list