#include "ui/main/MainWindow.h"
#include "core/database/DogDatabase.h"
#include "core/database/UAVDatabase.h"
#include <QApplication>
#include <QtSql>
#include <QSqlDatabase>
#include <QIcon>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    //设置窗口图标
    QIcon icon(":/image/res/image/logo_backgroundless.png");
    a.setWindowIcon(icon);

    MainWindow w;
    w.show();
    QStringList lis= QSqlDatabase::drivers();
    for (int i=0;i<lis.length();i++) {
        qDebug() <<"dri:"<<lis[i];
    }

    return a.exec();
}
