can bus example, unable to build, Project ERROR: Unknown module(s) in QT: serialbus
-
Hi aha_1980
thank you for your answer. I think qtserialbus existsdnf search qt5 | grep -i serial Dernière vérification de l’expiration des métadonnées effectuée il y a 3:00:56 le mar. 10 nov. 2020 10:05:43 CET. qt5-qtserialbus.x86_64 : Qt5 - SerialPort component qt5-qtserialbus.i686 : Qt5 - SerialPort component qt5-qtserialport.x86_64 : Qt5 - SerialPort component qt5-qtserialport.i686 : Qt5 - SerialPort component qt5-qtserialport-devel.x86_64 : Development files for qt5-qtserialport qt5-qtserialport-devel.i686 : Development files for qt5-qtserialport qt5-qtserialbus-examples.x86_64 : Programming examples for qt5-qtserialbus qt5-qtserialport-examples.x86_64 : Programming examples for qt5-qtserialport qt5-qtserialbus-doc.noarch : Documentation for qtserialbus qt5-qtserialport-doc.noarch : Documentation for qtserialport
-
Hi and welcome to devnet,
One thing to check, are you sure you are using the Qt 5 qmake ?
You might also have Qt 4 installed. -
@aha_1980 said in can bus example, unable to build, Project ERROR: Unknown module(s) in QT: serialbus:
qt5-qtserialbus-devel
You might be right... I feel like I'll need to install the qt framework with online installer...
dnf search qt5 | grep -i serial | grep -i devel Dernière vérification de l’expiration des métadonnées effectuée il y a 4:46:28 le mar. 10 nov. 2020 10:05:43 CET. qt5-qtserialport-devel.x86_64 : Development files for qt5-qtserialport qt5-qtserialport-devel.i686 : Development files for qt5-qtserialport
-
@osfe said in can bus example, unable to build, Project ERROR: Unknown module(s) in QT: serialbus:
I don't have qt5-qtserialbus-devel...
Please read how to upgrate the right repos for your Fedora distro on the Fedora forums then. Because the qtserialbus-devel package exists on Fedora: https://fedora.pkgs.org/32/fedora-updates-x86_64/qt5-qtserialbus-devel-5.14.2-1.fc32.x86_64.rpm.htmlOops, sorry, it is CentOS v8.. Then change the Linux distro, because it is not the qtserialbus issue.
-
Old eyes...
I would recommend complaining to your distribution.
-
From centos forum :
Re: qt5-qtserialbus-devel not in repos
It appears to be one of the missing -devel packages that Red Hat don't want to release. There are mailing list discussions, bug reports etc about this. I'd suggest reading those, especially the mailing list, as there is a pointer to a ticket somewhere (that I don't remember) gathering requests for the missing packages and reasons why they are needed.