Unsolved Install qtmqtt on raspberrypi4 ubuntu20.04 64bit
-
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 ..
makemake 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
-
Hi,
What development packages did you install for Qt ?
-
@SGaist I installed through ubuntu apt get
I can download qt source if needed ?
-
@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
-
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.