khanat-opennel-code/code/nel/tools/3d/tile_edit_qt/main.cpp

38 lines
812 B
C++
Raw Normal View History

2016-01-06 12:22:47 +00:00
#include "common.h"
2015-12-18 12:02:31 +00:00
#include "tile_edit_dlg.h"
2016-01-06 12:22:47 +00:00
#ifdef QT_STATICPLUGIN
#include <QtPlugin>
#if defined(Q_OS_WIN32)
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
#elif defined(Q_OS_MAC)
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
#elif defined(Q_OS_UNIX)
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
#endif
#endif
2015-12-18 12:02:31 +00:00
2016-01-18 20:32:01 +00:00
#include "../shared_widgets/common.h"
2015-12-18 12:02:31 +00:00
int main(int argc, char *argv[])
{
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
NLMISC::CApplicationContext myApplicationContext;
2016-01-18 20:32:01 +00:00
NLQT::preApplication();
2015-12-18 12:02:31 +00:00
Q_INIT_RESOURCE(tile_edit_qt);
QApplication app(argc, argv);
2016-01-18 20:32:01 +00:00
CTile_edit_dlg tileEdit;
tileEdit.show();
2015-12-18 12:02:31 +00:00
return app.exec();
}