PageRenderTime 16ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/vprinter/template_editor/src/main.cpp

http://cupsfilter.googlecode.com/
C++ | 18 lines | 14 code | 3 blank | 1 comment | 0 complexity | e0b7eb180d57ed6ca53e09b610d112ae MD5 | raw file
 1#include <QApplication>
 2#include <QTextCodec>
 3
 4#include "mainwindow.h"
 5
 6int main(int argc, char *argv[])
 7{
 8    Q_INIT_RESOURCE(images);
 9        QTextCodec *codec = QTextCodec::codecForName("UTF-8");
10        QTextCodec::setCodecForTr(codec);
11        //QTextCodec::setCodecForLocale(cyrillicCodec);
12        QTextCodec::setCodecForCStrings(codec);
13
14    QApplication a(argc, argv);
15    MainWindow w;
16    w.show();
17    return a.exec();
18}