#include "maindialog.h" #include #include int main(int argc, char *argv[]) { QApplication a(argc, argv); QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8")); QTextCodec::setCodecForTr(QTextCodec::codecForCStrings()); MainDialog w; w.show(); return a.exec(); }