Hi everyone
I ahve just started using Qt and am trying to get the example for QtTest working.
When I comoile the example given I get the following errors
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(19) : error C3646: 'uint' : unknown override specifier
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(19) : error C3646: 'qt_meta_data_TestQString' : unknown override specifier
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(19) : error C2090: function returns array
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(19) : error C2270: 'QTTEST_MAIN' : modifiers not allowed on nonmember functions
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(19) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(19) : error C2072: 'QTTEST_MAIN' : initialization of a function
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(22) : error C2078: too many initializers
1>c:\VSProjects\xxxx\xxxx\GeneratedFiles\Debug\mai n.moc(44) : error C2065: 'qt_meta_data_TestQString' : undeclared identifier
Does anyone know what I am doing wrong?
Graham
Bookmarks