tools/drawMapTest/main.cpp
author Wuzzy <Wuzzy2@mail.ru>
Mon, 16 Jul 2018 20:28:01 +0200
changeset 13490 4faebbf9c44f
parent 4425 2314bb0c433d
permissions -rw-r--r--
Fix hwengine crash when using >1 controllers Reason: Data type mismatch for SDL_JoystickName, we wed in an index, but it expected a controller handle. Solution: Switch to SDL_JoystickNameForIndex.

#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    return a.exec();
}