blob: 73e52bcef54e3b3ecccdf0a7ec8c4966b0326748 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "mimetyperegistry.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
// ------------------------------------------------------------------------------------------------
int main(int argc, char *argv[])
{
QCoreApplication app (argc, argv);
// Instantiate two objects of QMimeTypeRegistry to make sure the class can be instantiated
QScopedPointer<QMimeTypeRegistry> mimeTypeRegistry1 (new QMimeTypeRegistry());
QScopedPointer<QMimeTypeRegistry> mimeTypeRegistry2 (new QMimeTypeRegistry());
qDebug() << "Hello world";
return 0;
}
|