Error CAN Bus example implementation in QtCreator 4.14.1 Based on Qt 5.15.2
-
I'm trying to implement this project in QtCreator (https://code.qt.io/cgit/qt/qtserialbus.git/tree/examples/serialbus/can?h=5.15.2)
OS: Raspbian GNU/Linux 11 (bullseye) [linux version 5.15.53-v7+]
Qt Creator 4.14.1
Based on Qt 5.15.2 (GCC 10.2.1 20210110, 32 bit)But i face many errors:
I create new project then i added classes and .qrc file,
i only change can.pro file to addapte it to my project from this(code in the website):
To this:(i only added line 4 and 5 "QT += serialbus widgets
requires(qtConfig(combobox))" to can.pro in my new project)
-
I'm trying to implement this project in QtCreator (https://code.qt.io/cgit/qt/qtserialbus.git/tree/examples/serialbus/can?h=5.15.2)
OS: Raspbian GNU/Linux 11 (bullseye) [linux version 5.15.53-v7+]
Qt Creator 4.14.1
Based on Qt 5.15.2 (GCC 10.2.1 20210110, 32 bit)But i face many errors:
I create new project then i added classes and .qrc file,
i only change can.pro file to addapte it to my project from this(code in the website):
To this:(i only added line 4 and 5 "QT += serialbus widgets
requires(qtConfig(combobox))" to can.pro in my new project)
-
Hi @jsulm i take the same code main.cpp from this site (https://code.qt.io/cgit/qt/qtserialbus.git/tree/examples/serialbus/can?h=5.15.2),
-
Okay @jsulm, i get this:
Did i have to delete bitratebox.ui ? because it doesn't exist here(in the site):