Rodmg / esptool-gui

ESP8266 ROM flasher GUI, based on esptool-ck
Other
180 stars 39 forks source link

error: ‘Baud256000’ is not a member of ‘QSerialPort’ #6

Open probonopd opened 7 years ago

probonopd commented 7 years ago
mainwindow.cpp:25:52: error: ‘Baud256000’ is not a member of ‘QSerialPort’
     ui->baudBox->addItem(QStringLiteral("256000"), QSerialPort::Baud256000);
                                                    ^
mainwindow.cpp:26:52: error: ‘Baud460800’ is not a member of ‘QSerialPort’
     ui->baudBox->addItem(QStringLiteral("460800"), QSerialPort::Baud460800);
                                                    ^
mainwindow.cpp: At global scope:
mainwindow.cpp:216:157: warning: unused parameter ‘exitStatus’ [-Wunused-parameter]
     connect(process, static_cast<void(QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this, [=](int exitCode, QProcess::ExitStatus exitStatus)
                                                                                                                                                             ^
make: *** [mainwindow.o] Error 1

Is https://github.com/Rodmg/esptool-gui/commit/4aa864af60eaf5b6c2c01f2bbd481cac5ef5798d at fault?

probonopd commented 5 years ago

Still getting the same error.

probonopd commented 5 years ago

Even with Qt 5.12.3 on xenial.

probonopd commented 5 years ago

Is 4aa864a at fault?

Looks like it.