Support UTF-8 Output on console

This commit is contained in:
Lord-Grey
2023-09-14 22:10:54 +02:00
parent 8c31e7822c
commit 8ecd25cb9f
3 changed files with 11 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#define QSTRING_CSTR(str) str.toLocal8Bit().constData()
#define QSTRING_CSTR(str) str.toUtf8().constData()
typedef QList< int > QIntList;