Sfoglia il codice sorgente

change tool_fwupdate.

yuchuli 1 anno fa
parent
commit
590a90d7c3

+ 2 - 0
src/tool/tool_fwupdate/mainwindow.cpp

@@ -9,6 +9,8 @@ MainWindow::MainWindow(QWidget *parent) :
 {
     ui->setupUi(this);
 
+    ui->progressBar->setValue(0);
+
     socket_ = new QTcpSocket(this);
 //    socket_->connectToHost("rtk.ntrip.qxwz.com",8002);
     connect(socket_, SIGNAL(connected()), this, SLOT(connectedSlot()));

+ 2 - 0
src/tool/tool_fwupdate/tool_fwupdate.pro

@@ -10,6 +10,8 @@ QT += network
 
 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 
+QMAKE_LFLAGS += -no-pie
+
 TARGET = tool_fwupdate
 TEMPLATE = app