Replies: 1 comment 1 reply
-
Quite often I forget to update the documentation. textActivated was added in QT 5.14 so my guess is you're trying to use an older version of QT. Yes, the documentation says you can use QT 5.13 but it's not true. In general, you should be using the newest stable version of QT. However, do not try to use QT 6 yet. So far as I know they have not yet added support for all of the various plugins QT is supposed to come with. One of the big omissions so far is lack of CAN bus support in QT6. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Got this error when making:
dbc/dbcsignaleditor.cpp: In constructor ‘DBCSignalEditor::DBCSignalEditor(QWidget*)’:
dbc/dbcsignaleditor.cpp:271:48: error: ‘textActivated’ is not a member of ‘QComboBox’
271 | connect(ui->cbMultiplexParent, &QComboBox::textActivated(),
| ^~~~~~~~~~~~~
From dbcsignaleditor.cpp:
connect(ui->cbMultiplexParent, &QComboBox::textActivated,
=
{
if (currentSignal == nullptr) return;
if (inhibitMsgProc) return;
//qDebug() << "Curr text: :" << ui->cbMultiplexParent->currentText();
//try to look up the signal that we're set to now, remove this signal from existing children list
//add it to this one, update this signal's parent multiplexor
Appreciate the help.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions