qtl866 icon indicating copy to clipboard operation
qtl866 copied to clipboard

Cannot compile on Ubuntu 16.04

Open j75 opened this issue 7 years ago • 1 comments

Hello!

Trying to build the executable with QtCreator on a Ubuntu amd64 produces the following messages:

mainwindow.cpp: In function 'QString getColoredText(QString, QString)':
mainwindow.cpp:37:63: error: 'QStringLiteral' was not declared in this scope
     return QStringLiteral("<span style='color: %1;'>%2</span>").arg(
                                                               ^
mainwindow.cpp:40:22: error: 'class QString' has no member named 'toHtmlEscaped'
                     .toHtmlEscaped()

Any idea how to fix that?

j75 avatar Mar 27 '17 20:03 j75

I am not able to reproduce this. What version of Qt are you building against?

wd5gnr avatar Apr 05 '17 05:04 wd5gnr