expected ';' before 'RegistrationHandler'
コードに が表示されるのに、エラーが見つからないのはなぜですか?
Q_DECL_EXPORT int main(int argc, char **argv)
{
// this is where the server is started etc
Application app(argc, argv);
// localization support
QTranslator translator;
QString locale_string = QLocale().name();
QString filename = QString( "MyApp_%1" ).arg( locale_string );
if (translator.load(filename, "app/native/qm")) {
app.installTranslator( &translator );
}
new MyApp(&app);
const QString uuid(QLatin1String("abc"));
RegistrationHandler *registrationHandler = new RegistrationHandler(uuid, &app);
return Application::exec();
}