@@ -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()));
@@ -10,6 +10,8 @@ QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+QMAKE_LFLAGS += -no-pie
TARGET = tool_fwupdate
TEMPLATE = app