mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-25 05:50:47 -08:00
revisions; note about pending Qt6 port of meshtastic example
This commit is contained in:
parent
eb9612b17f
commit
1a822feb0e
6 changed files with 14 additions and 8 deletions
|
|
@ -322,7 +322,11 @@ cl_object qload_rc(cl_object l_file) {
|
|||
QFile file(toQString(l_file).prepend(":/"));
|
||||
if (file.open(QIODevice::ReadOnly)) {
|
||||
QTextStream ts(&file);
|
||||
#if QT_VERSION < 0x060000
|
||||
ts.setCodec("UTF-8");
|
||||
#else
|
||||
ts.setEncoding(QStringConverter::Utf8);
|
||||
#endif
|
||||
QString text = ts.readAll();
|
||||
file.close();
|
||||
if (!text.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue