cannot compile and install SerialPort library at Linux Mint 19.3
-
Hi everyone
I tried to install Qt 5.12.4 from online installer at Linux Mint 19.3 and it´s not possible because there is no glibc 2.28 in this Mint Version.
I have another machine using Mint 19.3 without glibc 2.28 and the Qt 5.12.4 was install throught installer online a few years ago.
Yesterday I installed Qt from Mint repositories. It´s the only way to do this.
Now I need to install SerialPort library.
I found this tutorial: https://wiki.qt.io/Qt_Serial_Port
"The following are the recommended steps for building the QtSerialPort library for Qt4/Qt5 from the command line.
$ git clone git://code.qt.io/qt/qtserialport.git $ mkdir qtserialport-build $ cd qtserialport-build $ qmake ../qtserialport/qtserialport.pro"
But there isn´t any qtserialport.pro file.
I tried to compile with "examples.pro" and "serialport.pro".
Both of them with errors.This is the qmake version used
qmake -version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnuThe tutorial says that´s there is another way using qtcreator, but there isn´t sucessfull compilation.
What I´m doing wrong?
Thanks in advance
-
@Guapo said in cannot compile and install SerialPort library at Linux Mint 19.3:
What I´m doing wrong?
You should check out the Qt5.9 branch instead master
-
Hi,
By default when you clone the Qt repositories, they will be on the dev branch which is the current development branch and is targeting Qt 6. As @Christian-Ehrlicher wrote, the correct course of action is to checkout the branch that matches the version of Qt you want to build the module for.