24 lines
267 B
C++
24 lines
267 B
C++
|
#include "mainwindow.h"
|
||
|
#include "libusbwrapper.h"
|
||
|
#include <iostream>
|
||
|
|
||
|
#include <QApplication>
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
int ret;
|
||
|
|
||
|
QApplication a(argc, argv);
|
||
|
MainWindow w;
|
||
|
|
||
|
LibUsbInit();
|
||
|
|
||
|
w.show();
|
||
|
|
||
|
ret = a.exec();
|
||
|
|
||
|
LibUsbDeInit();
|
||
|
|
||
|
return ret;
|
||
|
}
|