<commit_before>#ifdef QT_QML_DEBUG
#include <QtQuick>
#endif

#include <QQuickView>
#include <QQmlContext>
#include <sailfishapp.h>
#include "servercomm.h"

int main(int argc, char *argv[])
{
    QScopedPointer<QQuickView> view(SailfishApp::createView());
    ServerComm sc;
    view->rootContext()->setContextProperty("serverComm", &sc);
    view->setSource(SailfishApp::pathTo("main.qml"));
    view->show();
}
<commit_msg>More fixes to main.cpp<commit_after>#ifdef QT_QML_DEBUG
#include <QtQuick>
#endif

#include <QGuiApplication>
#include <QQuickView>
#include <QQmlContext>
#include <sailfishapp.h>
#include "servercomm.h"

int main(int argc, char *argv[])
{
    QScopedPointer<QGuiApplication> app(SailfishApp::application(argc, argv));
    QScopedPointer<QQuickView> view(SailfishApp::createView());
    ServerComm sc;
    view->rootContext()->setContextProperty("serverComm", &sc);
    view->setSource(SailfishApp::pathTo("main.qml"));
    view->showFullScreen();
    return app->exec();
}

{'fraction_non_alphanumeric': 0.15915915915915915, 'fraction_numerical': 0.0, 'mean_word_length': 6.407407407407407, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 24, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6007599', 'n_tokens_mistral': 352, 'n_tokens_neox': 347, 'n_words': 62}