Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Install qtmqtt on raspberrypi4 ubuntu20.04 64bit
Forum Updated to NodeBB v4.3 + New Features

Install qtmqtt on raspberrypi4 ubuntu20.04 64bit

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 678 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by
    #1

    Hi,

    I have Qt 5.14.2 nstalled on the raspi4 .

    when I try to compile qtmatt :

    git clone --branch v5.14.2 git://code.qt.io/qt/qtmqtt.git

    cd qtmqtt
    mkdir build && cd build
    qmake -r ..
    make

    make
    cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/rpi_ubuntu/qt/qtmqtt/src/src.pro ) && make -f Makefile 
    make[1]: Entering directory '/home/rpi_ubuntu/qt/qtmqtt/build/src'
    cd mqtt/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/rpi_ubuntu/qt/qtmqtt/src/mqtt/mqtt.pro ) && make -f Makefile 
    make[2]: Entering directory '/home/rpi_ubuntu/qt/qtmqtt/build/src/mqtt'
    perl /usr/lib/aarch64-linux-gnu/qt5/mkspecs/features/data/unix/findclasslist.pl < QtMqtt.version.in > QtMqtt.version
    g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_MQTT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/rpi_ubuntu/qt/qtmqtt/src/mqtt -I. -I../../include -I../../include/QtMqtt -I../../include/QtMqtt/6.1.0 -I../../include/QtMqtt/6.1.0/QtMqtt -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore/5.14.2 -I/usr/include/aarch64-linux-gnu/qt5/QtCore/5.14.2/QtCore -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I.moc -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/qmqttauthenticationproperties.o /home/rpi_ubuntu/qt/qtmqtt/src/mqtt/qmqttauthenticationproperties.cpp
    g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_MQTT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/rpi_ubuntu/qt/qtmqtt/src/mqtt -I. -I../../include -I../../include/QtMqtt -I../../include/QtMqtt/6.1.0 -I../../include/QtMqtt/6.1.0/QtMqtt -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore/5.14.2 -I/usr/include/aarch64-linux-gnu/qt5/QtCore/5.14.2/QtCore -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I.moc -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/qmqttclient.o /home/rpi_ubuntu/qt/qtmqtt/src/mqtt/qmqttclient.cpp
    In file included from /home/rpi_ubuntu/qt/qtmqtt/src/mqtt/qmqttclient.cpp:31:
    /home/rpi_ubuntu/qt/qtmqtt/src/mqtt/qmqttclient_p.h:49:10: fatal error: private/qobject_p.h: No such file or directory
       49 | #include <private/qobject_p.h>
          |          ^~~~~~~~~~~~~~~~~~~~~
    
    

    How can I compile qtmqtt ?

    Best

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

      Hi,

      What development packages did you install for Qt ?

      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
      • R Offline
        R Offline
        RahibeMeryem
        wrote on last edited by RahibeMeryem
        #3

        @SGaist I installed through ubuntu apt get

        I can download qt source if needed ?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          RahibeMeryem
          wrote on last edited by
          #4

          @SGaist What is the proper steps to compile qtmqtt for ubuntu 20.04 64 bit raspberrypi 4 ?

          I have installed qt5.14.2 through ap

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

            Please show some patience and allow at least 24 hours before bumping your own thread. This is a voluntary driven forum and not all people live in the same timezone as you.

            You need to install the Qt private dev packages.

            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
            2

            • Login

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