Output supported image read formats when starting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3221 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
039b1d3cba
commit
c4219b1f5d
|
@ -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<QByteArray> 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
|
||||
|
|
Loading…
Reference in New Issue