Display AVIF support status in QT

pull/1132/head
Levin Li 2021-10-13 22:09:35 +08:00
parent bf5689574d
commit d0ed0d79de
1 changed files with 6 additions and 0 deletions

View File

@ -1083,6 +1083,7 @@ void CelestiaAppWindow::slotShowAbout()
"Using %3 %4<br>" "Using %3 %4<br>"
"Built against Qt library: %5<br>" "Built against Qt library: %5<br>"
"NAIF kernels are %7<br>" "NAIF kernels are %7<br>"
"AVIF images are %8</p>"
"Runtime Qt version: %6</p>" "Runtime Qt version: %6</p>"
"<p>Copyright (C) 2001-2021 by the Celestia Development Team.<br>" "<p>Copyright (C) 2001-2021 by the Celestia Development Team.<br>"
@ -1117,6 +1118,11 @@ void CelestiaAppWindow::slotShowAbout()
.arg(_("supported")) .arg(_("supported"))
#else #else
.arg(_("not supported")) .arg(_("not supported"))
#endif
#if defined(USE_LIBAVIF)
.arg(_("supported"))
#else
.arg(_("not supported"))
#endif #endif
; ;
QMessageBox::about(this, _("About Celestia"), qAboutText); QMessageBox::about(this, _("About Celestia"), qAboutText);