mirror of
https://github.com/YACReader/yacreader
synced 2025-05-25 18:00:46 -04:00
Fix Qt5 compilation
This commit is contained in:
parent
1c48f05398
commit
289b42fb26
@ -22,7 +22,8 @@ QString YACReader::getGlobalInfo()
|
||||
text.append(QString("Product info: %1\n").arg(QSysInfo::prettyProductName()));
|
||||
|
||||
text.append("\nAPP INFORMATION\n");
|
||||
text.append(QString("Image formats supported: %1\n").arg(QImageReader::supportedImageFormats().join(", ")));
|
||||
QString supportedImageFormats = QImageReader::supportedImageFormats().join(", ");
|
||||
text.append(QString("Image formats supported: %1\n").arg(supportedImageFormats));
|
||||
// append if sqlite driver is available
|
||||
#ifdef YACREADER_LIBRARY
|
||||
text.append(QString("SQLite driver available: %1\n").arg(QSqlDatabase::isDriverAvailable("QSQLITE") ? "yes" : "no"));
|
||||
|
Loading…
Reference in New Issue
Block a user