summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/wizards/autotest/main.cpp
blob: 3ff500decd63c8802fa5d5ece96650e0405836cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@if "%RequireGUI%" == "true"
#include <QApplication>
@else
#include <QCoreApplication>
@endif

// add necessary includes here

int main(int argc, char *argv[])
{
@if "%RequireGUI%" == "true"
    QApplication a(argc, argv);
@else
    QCoreApplication a(argc, argv);
@endif

    return a.exec();
}