Closed llimeht closed 6 years ago
When building with Qt 5.9 in Debian and the standard Qt/KDE build helpers, QT_NO_CAST_FROM_ASCII is set, which prevents using ASCII strings directly within the QString constructor.
The attached patch is required to build; the relevant QString constructor is otherwise private. http://doc.qt.io/qt-5/qstring.html#converting-between-8-bit-strings-and-unicode-strings
When building with Qt 5.9 in Debian and the standard Qt/KDE build helpers, QT_NO_CAST_FROM_ASCII is set, which prevents using ASCII strings directly within the QString constructor.
The attached patch is required to build; the relevant QString constructor is otherwise private. http://doc.qt.io/qt-5/qstring.html#converting-between-8-bit-strings-and-unicode-strings