1
0
Fork 0
flightgear/utils/fgqcanvas/main.cpp
2016-12-21 10:26:31 +00:00

24 lines
494 B
C++

#include "temporarywidget.h"
#include <QApplication>
#include <QNetworkAccessManager>
#include "fgqcanvasfontcache.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setApplicationName("FGCanvas");
a.setOrganizationDomain("flightgear.org");
a.setOrganizationName("FlightGear");
QNetworkAccessManager* downloader = new QNetworkAccessManager;
FGQCanvasFontCache::initialise(downloader);
TemporaryWidget w;
w.show();
return a.exec();
}