File: main.cpp

package info (click to toggle)
ulcc 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,368 kB
  • sloc: cpp: 852; xml: 29; sh: 17; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 376 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <QApplication>

#include <QDir>
#include <QTextCodec>

#include "mainwindow.h"

int main(int argc, char *argv[]){
    QApplication app(argc, argv);

    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
    QDir::setCurrent(QApplication::applicationDirPath());

    MainWindow *window = new MainWindow();
    window->show();

    return app.exec();
}