You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.cpp 329B

1234567891011121314
  1. #include "maindialog.h"
  2. #include <QApplication>
  3. #include <QTextCodec>
  4. int main(int argc, char *argv[])
  5. {
  6. QApplication a(argc, argv);
  7. QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
  8. QTextCodec::setCodecForTr(QTextCodec::codecForCStrings());
  9. MainDialog w;
  10. w.show();
  11. return a.exec();
  12. }