1234567891011121314151617181920212223 |
- #include <QCoreApplication>
- #include <iostream>
- #include "ivdetection_radar_delphi_esr.h"
- int main(int argc, char *argv[])
- {
- QCoreApplication a(argc, argv);
- QString strpath = QCoreApplication::applicationDirPath();
- if(argc < 2)
- strpath = strpath + "/detection_radar_esr.xml";
- else
- strpath = argv[1];
- std::cout<<strpath.toStdString()<<std::endl;
- iv::ivmodule * pivmodule = new iv::ivdetection_radar_delphi_esr(strpath.toStdString());
- pivmodule->start();
- return a.exec();
- }
|