After the
        engine.load(QUrl(QLatin1String("qrc:/main.qml")));

call, if there is a parsing error, the engine is empty. The eventloop will 
continue to run. Therefore, it should check before starting the event loop.

        if (engine.rootObjects().size() > 0)
                return app.exec();

        return 255;

This will help both in Creator from having many processes running that are 
filling up the App output tab, as well as any scripts that expect a process to 
be usable, but have failed to load.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to