blob: d21a1063b06beec23ded1e387daa0e2126de1bd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "qmimetyperegistry.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;
}
|