Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. cannot compile and install SerialPort library at Linux Mint 19.3

cannot compile and install SerialPort library at Linux Mint 19.3

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 405 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • GuapoG Offline
    GuapoG Offline
    Guapo
    wrote on last edited by
    #1

    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-gnu

    The tutorial says that´s there is another way using qtcreator, but there isn´t sucessfull compilation.

    What I´m doing wrong?

    Thanks in advance

    Christian EhrlicherC 1 Reply Last reply
    0
    • GuapoG Guapo

      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-gnu

      The tutorial says that´s there is another way using qtcreator, but there isn´t sucessfull compilation.

      What I´m doing wrong?

      Thanks in advance

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved