summaryrefslogtreecommitdiffstats
path: root/tests/manual/testCpp/testcpp.cpp
blob: 368ee039a55c1ffafdeca1ec8e8b55daf8763044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <QCoreApplication>
#include <QFile>
#include <QFileInfo>
#include <QElapsedTimer>
#include "out.h"

#include <iostream>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    QElapsedTimer t;
    t.start();

    StateMachine sm;
    sm.init();

    std::cout << "instantiation:" << t.elapsed() << " ms" << std::endl;
    return 0;
}