esptool-gui icon indicating copy to clipboard operation
esptool-gui copied to clipboard

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

Open probonopd opened this issue 7 years ago • 3 comments

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 avatar Aug 18 '17 20:08 probonopd

Still getting the same error.

probonopd avatar May 12 '19 16:05 probonopd

Even with Qt 5.12.3 on xenial.

probonopd avatar May 12 '19 16:05 probonopd

Is 4aa864a at fault?

Looks like it.

probonopd avatar May 12 '19 16:05 probonopd