Ticket #49797: qttest.cpp
File qttest.cpp, 351 bytes (added by j.ellerbroek@…, 9 years ago) |
---|
Line | |
---|---|
1 | #include <QtWidgets> |
2 | #include <iostream> |
3 | |
4 | int main(int argc, char **argv) |
5 | { |
6 | QApplication app(argc, argv); |
7 | QList<QByteArray> formats = QImageReader::supportedImageFormats(); |
8 | |
9 | for (QList<QByteArray>::const_iterator it = formats.begin(); it != formats.end(); ++it) |
10 | std::cout << it->constData() << std::endl; |
11 | |
12 | return app.exec(); |
13 | } |