From b12350bf20f41e38bc33c5cd75497327df2b95f7 Mon Sep 17 00:00:00 2001 From: marian Date: Tue, 20 Apr 2010 11:52:12 +0000 Subject: [PATCH] Output supported image read formats when starting. git-svn-id: http://voip.null.ro/svn/yate@3221 acf43c95-373e-0410-b603-e72c3f656dc1 --- clients/qt4/qt4client.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/clients/qt4/qt4client.cpp b/clients/qt4/qt4client.cpp index 615c3ba8..714f988b 100644 --- a/clients/qt4/qt4client.cpp +++ b/clients/qt4/qt4client.cpp @@ -2672,7 +2672,13 @@ void QtClient::run() char* argv = 0; m_app = new QApplication(argc,&argv); m_app->setQuitOnLastWindowClosed(false); - Debug(ClientDriver::self(),DebugInfo,"QT client start running (version=%s)",qVersion()); + String imgRead; + QList imgs = QImageReader::supportedImageFormats(); + for (int i = 0; i < imgs.size(); i++) + imgRead.append(imgs[i].constData(),","); + imgRead = "read image formats '" + imgRead + "'"; + Debug(ClientDriver::self(),DebugInfo,"QT client start running (version=%s) %s", + qVersion(),imgRead.c_str()); if (!QSound::isAvailable()) Debug(ClientDriver::self(),DebugWarn,"QT sounds are not available"); // Create events proxy