Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. qtmqtt from git failure within make
QtWS25 Last Chance

qtmqtt from git failure within make

Scheduled Pinned Locked Moved Unsolved QtonPi
2 Posts 2 Posters 522 Views
  • 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.
  • O Offline
    O Offline
    ogran
    wrote on last edited by
    #1

    Hello,
    i am using qt5.11 on a raspberry pi 4 installed from the packages available in raspbian os.
    I can natively run qtcreator and compile the installed modules without problems.

    As there is no qtmqtt module within the packages I tried to install it from git by:

    git clone git://code.qt.io/qt/qtmqtt.git

    Then i ran qmake.
    When running make I got the following error:

    In file included from qmqttclient.cpp:31:
    qmpttclient_p.h:49:10: fatal error: private/qobject_p.h: No such file or directory
    #include <private/qobject_p.h>
    compilation terminated.

    Are qt5.11 and the qtmqtt library/module from this git repository incompatible?
    What are the steps needed to install qtmqtt library/module ?

    To use the CAN bus i would like to use the QSerialBus module, which is also not contained in the
    packages.

    What are the required steps to make it available?

    Thanks in advance for your help.

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

      Hi and welcome to devnet,

      If you try to build that module with your distribution provided Qt, you need to install the additional packages that provide Qt's private headers.

      You should also take into account that when you clone one of the modules, you get the dev branch by default which targets Qt 6.

      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
      1

      • Login

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