1234567891011121314 |
- #include "maindialog.h"
- #include <QApplication>
- #include <QTextCodec>
-
- 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();
- }
|