打印版本号

This commit is contained in:
tangchao0503
2023-06-28 13:32:59 +08:00
parent 47002ad894
commit e620c87ecf
2 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,7 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
std::cout<<"ximeaAirborneSystem 版本:"<< "34." <<std::endl;
QCoreApplication a(argc, argv); QCoreApplication a(argc, argv);
//UdpServer* x=new UdpServer(); //UdpServer* x=new UdpServer();

View File

@ -8,16 +8,16 @@ UdpServer::UdpServer()
m_udpSocket->bind(45454, QUdpSocket::ShareAddress); m_udpSocket->bind(45454, QUdpSocket::ShareAddress);
connect(m_udpSocket, SIGNAL(readyRead()),this, SLOT(processPendingDatagrams())); connect(m_udpSocket, SIGNAL(readyRead()),this, SLOT(processPendingDatagrams()));
m_RecordSbgThread=new QThread();
m_sbgRecorder=new sbgtc::SbgRecorder();
m_sbgRecorder->moveToThread(m_RecordSbgThread);
m_RecordSbgThread->start();
m_RecordThread=new QThread(); m_RecordThread=new QThread();
m_imager=new XimeaImager(); m_imager=new XimeaImager();
m_imager->moveToThread(m_RecordThread); m_imager->moveToThread(m_RecordThread);
m_RecordThread->start(QThread::HighestPriority); m_RecordThread->start(QThread::HighestPriority);
m_RecordSbgThread=new QThread();
m_sbgRecorder=new sbgtc::SbgRecorder();
m_sbgRecorder->moveToThread(m_RecordSbgThread);
m_RecordSbgThread->start();
m_CopyFileThread=new QThread(); m_CopyFileThread=new QThread();
m_copyFile=new FileOperation(); m_copyFile=new FileOperation();
m_copyFile->moveToThread(m_CopyFileThread); m_copyFile->moveToThread(m_CopyFileThread);