emqx / qmqtt

MQTT client for Qt

Home Page:https://www.emqx.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake vs. qmake builds

barsnick opened this issue · comments

Hi,
I have discovered qmqtt as a nice non-GPL alternative to QtMqtt. I have been building it for Fedora distributions in a so-called copr repository for quite some time:
https://copr.fedorainfracloud.org/coprs/barsnick/non-fed/package/qmqtt/

I have been using cmake all along (I guess just because I had noticed the CMakeLists.txt). Yet I never got websocket support to build. Okay, so it turns out I should have read README.md. ;) Yet following along those instructions (modifying src/mqtt/qmqtt.pro), websocket support still wasn't being picked up.

Reading through the issues, I saw that qmake is still the preferred way to go. Great! I tried it, and it actually picks up the websocket config correctly.

But now I have stumbled across two differences to the cmake build:

  1. Building fails in the examples - both make all and make install build the examples (so I need to use other make targets to succeed):
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QMQTT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../include -I../../../include/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/example.o example.cpp
example.cpp:32:10: fatal error: qmqtt.h: No such file or directory
   32 | #include <qmqtt.h>
      |          ^~~~~~~~~
compilation terminated.
  1. The soname changes. cmake correctly sets it to libqmqtt.so.0 and writes the file libqmqtt.so.0.3.1. qmake on the other hand sets it to libQt5Qmqtt.so.1 and writes the file libQt5Qmqtt.so.1.0.0.

What's going wrong?

Thanks!

Here's the complete qmake build log:

[barsnick@paradise BUILD]$ cd qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/
[barsnick@paradise qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5]$ patch -p1 -i ../../SOURCES/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5-enable_websockets.patch
patching file src/mqtt/qmqtt.pro
[barsnick@paradise qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5]$ qmake-qt5
Info: creating stash file /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/.qmake.stash
Info: creating cache file /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/.qmake.cache
[barsnick@paradise qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5]$ make
cd src/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/src.pro ) && make -f Makefile
make[1]: Entering directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src'
cd mqtt/ && ( test -e Makefile.qmqtt || /usr/bin/qmake-qt5 -o Makefile.qmqtt /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/qmqtt.pro ) && make -f Makefile.qmqtt
make[2]: Entering directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt'
perl /usr/lib64/qt5/mkspecs/features/data/unix/findclasslist.pl < QtQmqtt.version.in > QtQmqtt.version
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_client_p.o qmqtt_client_p.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_client.o qmqtt_client.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_frame.o qmqtt_frame.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_message.o qmqtt_message.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_network.o qmqtt_network.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_routesubscription.o qmqtt_routesubscription.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_router.o qmqtt_router.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_socket.o qmqtt_socket.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_timer.o qmqtt_timer.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_websocket.o qmqtt_websocket.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_websocketiodevice.o qmqtt_websocketiodevice.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/qmqtt_ssl_socket.o qmqtt_ssl_socket.cpp
g++ -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -dM -E -o .moc/moc_predefs.h /../lib64/qt5/mkspecs/features/data/dummy.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_client.h -o .moc/moc_qmqtt_client.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_client.o .moc/moc_qmqtt_client.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_routesubscription.h -o .moc/moc_qmqtt_routesubscription.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_routesubscription.o .moc/moc_qmqtt_routesubscription.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_router.h -o .moc/moc_qmqtt_router.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_router.o .moc/moc_qmqtt_router.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_networkinterface.h -o .moc/moc_qmqtt_networkinterface.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_networkinterface.o .moc/moc_qmqtt_networkinterface.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_socketinterface.h -o .moc/moc_qmqtt_socketinterface.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_socketinterface.o .moc/moc_qmqtt_socketinterface.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_timerinterface.h -o .moc/moc_qmqtt_timerinterface.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_timerinterface.o .moc/moc_qmqtt_timerinterface.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_network_p.h -o .moc/moc_qmqtt_network_p.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_network_p.o .moc/moc_qmqtt_network_p.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_socket_p.h -o .moc/moc_qmqtt_socket_p.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_socket_p.o .moc/moc_qmqtt_socket_p.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_timer_p.h -o .moc/moc_qmqtt_timer_p.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_timer_p.o .moc/moc_qmqtt_timer_p.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_websocket_p.h -o .moc/moc_qmqtt_websocket_p.cpp
qmqtt_websocket_p.h:0: Note: No relevant classes found. No output generated.
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_websocket_p.o .moc/moc_qmqtt_websocket_p.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_websocketiodevice_p.h -o .moc/moc_qmqtt_websocketiodevice_p.cpp
qmqtt_websocketiodevice_p.h:0: Note: No relevant classes found. No output generated.
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_websocketiodevice_p.o .moc/moc_qmqtt_websocketiodevice_p.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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 --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include qmqtt_ssl_socket_p.h -o .moc/moc_qmqtt_ssl_socket_p.cpp
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMQTT_LIB -DQT_BUILDING_QT -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. -I. -I../../include -I../../include/QtQmqtt -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0 -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt/1.0.0/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qmqtt_ssl_socket_p.o .moc/moc_qmqtt_ssl_socket_p.cpp
rm -f libQt5Qmqtt.so.1.0.0 libQt5Qmqtt.so libQt5Qmqtt.so.1 libQt5Qmqtt.so.1.0
g++ -Wl,--no-undefined -Wl,--version-script,QtQmqtt.version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--enable-new-dtags -shared -Wl,-soname,libQt5Qmqtt.so.1 -o libQt5Qmqtt.so.1.0.0 .obj/qmqtt_client_p.o .obj/qmqtt_client.o .obj/qmqtt_frame.o .obj/qmqtt_message.o .obj/qmqtt_network.o .obj/qmqtt_routesubscription.o .obj/qmqtt_router.o .obj/qmqtt_socket.o .obj/qmqtt_timer.o .obj/qmqtt_websocket.o .obj/qmqtt_websocketiodevice.o .obj/qmqtt_ssl_socket.o .obj/moc_qmqtt_client.o .obj/moc_qmqtt_routesubscription.o .obj/moc_qmqtt_router.o .obj/moc_qmqtt_networkinterface.o .obj/moc_qmqtt_socketinterface.o .obj/moc_qmqtt_timerinterface.o .obj/moc_qmqtt_network_p.o .obj/moc_qmqtt_socket_p.o .obj/moc_qmqtt_timer_p.o .obj/moc_qmqtt_websocket_p.o .obj/moc_qmqtt_websocketiodevice_p.o .obj/moc_qmqtt_ssl_socket_p.o  /usr/lib64/libQt5Network.so /usr/lib64/libQt5Core.so -lpthread
ln -s libQt5Qmqtt.so.1.0.0 libQt5Qmqtt.so
ln -s libQt5Qmqtt.so.1.0.0 libQt5Qmqtt.so.1
ln -s libQt5Qmqtt.so.1.0.0 libQt5Qmqtt.so.1.0
rm -f ../../lib/libQt5Qmqtt.so.1.0.0
mv -f libQt5Qmqtt.so.1.0.0 ../../lib/libQt5Qmqtt.so.1.0.0
rm -f ../../lib/libQt5Qmqtt.so
rm -f ../../lib/libQt5Qmqtt.so.1
rm -f ../../lib/libQt5Qmqtt.so.1.0
mv -f libQt5Qmqtt.so ../../lib/libQt5Qmqtt.so
mv -f libQt5Qmqtt.so.1 ../../lib/libQt5Qmqtt.so.1
mv -f libQt5Qmqtt.so.1.0 ../../lib/libQt5Qmqtt.so.1.0
make[2]: Leaving directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src/mqtt'
make[1]: Leaving directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/src'
cd examples/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/examples.pro ) && make -f Makefile
make[1]: Entering directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples'
cd qmqtt/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt/qmqtt.pro ) && make -f Makefile
make[2]: Entering directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt'
cd client/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt/client/client.pro ) && make -f Makefile
make[3]: Entering directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt/client'
g++ -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-exceptions -Wall -Wextra -dM -E -o .moc/moc_predefs.h /../lib64/qt5/mkspecs/features/data/dummy.cpp
/../lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QMQTT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt/client/.moc/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt/client -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include -I/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/include/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/x86_64-redhat-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-redhat-linux/10/include -I/usr/local/include -I/usr/include example.cpp -o .moc/example.moc
g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QMQTT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../include -I../../../include/QtQmqtt -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/../lib64/qt5/mkspecs/linux-g++ -o .obj/example.o example.cpp
example.cpp:32:10: fatal error: qmqtt.h: No such file or directory
   32 | #include <qmqtt.h>
      |          ^~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:530: .obj/example.o] Error 1
make[3]: Leaving directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt/client'
make[2]: *** [Makefile:47: sub-client-make_first] Error 2
make[2]: Leaving directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples/qmqtt'
make[1]: *** [Makefile:47: sub-qmqtt-make_first] Error 2
make[1]: Leaving directory '/home/barsnick/rpmbuild/BUILD/qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5/examples'
make: *** [Makefile:74: sub-examples-make_first] Error 2

And here's the soname:

[barsnick@paradise qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5]$ find -name "*.so.*"
./lib/libQt5Qmqtt.so.1.0
./lib/libQt5Qmqtt.so.1.0.0
./lib/libQt5Qmqtt.so.1
[barsnick@paradise qmqtt-1fc3e1cbb5d14ff60da8ab46549fc846e8f9f6b5]$ find -name "*.so.*.*.*" | xargs objdump -p | grep -Fi soname
  SONAME               libQt5Qmqtt.so.1

commented

ok, several questions here. Let's see how far I get answering them

  • It should be possible to compile qmqtt with websocket support using cmake. However, patching the .pro file will not do the trick, because the cmake files are independent from the qmake (.pro) files. Instead you can run 'cmake -Dqmqtt_WEBSOCKETS=1' to force support. Keep in mind that if you have a CMakeCache.txt file already, the -D options may be ignored, so make sure to remove it before. It's also possible to enable websocket support by patching the CMakeLists.txt file to change the 'OFF' in line 12 to on (again remove the CMakeCache.txt before running cmake).
  • I'm not sure why the qmake build did not work. I tried it on my machine and - as usual - it worked there. The compiler cannot find 'qmqtt.h' which should be located in the 'include/QtQmqtt' directory inside the directory where you ran qmake. As you can see in the compiler command it add the relative include directory ../../../include/QtQmqtt. Since the working directory for the compiler command is examples/qmqtt/client, it points exactly to include/QtQmqtt is the repository root. Maybe you can check that.
  • About the differences between qmake and cmake: the qmake files were created to build and install qmqtt as a QT module, similar to for example QWebSockets. Therefore it uses the same naming conventions (and install directories) as the official QT modules. So that explains the name libQt5Qmqtt. On the other hand, the cmake files create mqtt as a 'normal' shared library, which happens to use QT but is not a QT module. Hence the name libqmqtt.so. There reason for this is not a very good one: the qmake and cmake files were created by different people at different times.
  • About the version numbers: same problem again. But with the extra bonus that the author of the cmake files tried to find the version of the module in the source code, and - probably by mistake - took the version of the latest supported mqtt communication protocol standard. The author of the qmake files just put the version at 1.0.0.

tl/dr: my advise would be to keep using cmake (and maybe also patch the version number back to 1.0.0).

@mwallnoefer Maybe it's good to create a new tag for this repo. The source code is pretty stable right now, so maybe we're ready for an official version 1.0.0.

ok, several questions here. Let's see how far I get answering them

Sorry about that. It really struck out while trying to find my way around (after having had the cmake build around for some time).

  • It should be possible to compile qmqtt with websocket support using cmake. However, patching the .pro file will not do the trick, because the cmake files are independent from the qmake (.pro) files. Instead you can run 'cmake -Dqmqtt_WEBSOCKETS=1' to force support. Keep in mind that if you have a CMakeCache.txt file already, the -D options may be ignored, so make sure to remove it before. It's also possible to enable websocket support by patching the CMakeLists.txt file to change the 'OFF' in line 12 to on (again remove the CMakeCache.txt before running cmake).

Hmm, I'm sure I tried to change OFF => ON, but can't recall. I didn't set qmqtt_WEBSOCKETS, but rather some of the other documented variables. Yes, indeed, I confused cmake and qmake variables. But I think the documentation does not cover it concisely (nor did I find the leading hint in the issue tracker).

  • I'm not sure why the qmake build did not work. I tried it on my machine and - as usual - it worked there. The compiler cannot find 'qmqtt.h' which should be located in the 'include/QtQmqtt' directory inside the directory where you ran qmake. As you can see in the compiler command it add the relative include directory ../../../include/QtQmqtt. Since the working directory for the compiler command is examples/qmqtt/client, it points exactly to include/QtQmqtt is the repository root. Maybe you can check that.

I will check again later. I want to make sure both methods work without a hack.

  • About the differences between qmake and cmake: the qmake files were created to build and install qmqtt as a QT module, similar to for example QWebSockets. Therefore it uses the same naming conventions (and install directories) as the official QT modules. So that explains the name libQt5Qmqtt. On the other hand, the cmake files create mqtt as a 'normal' shared library, which happens to use QT but is not a QT module. Hence the name libqmqtt.so. There reason for this is not a very good one: the qmake and cmake files were created by different people at different times.

Ah, I get it, I did get that impression from somewhere. That's a bit inconsistent, and I don't know which to prefer, actually.

  • About the version numbers: same problem again. But with the extra bonus that the author of the cmake files tried to find the version of the module in the source code, and - probably by mistake - took the version of the latest supported mqtt communication protocol standard. The author of the qmake files just put the version at 1.0.0.

Darn, I blamed the header file and was under the impression that it was a qmqtt version, and it was being bumped.

tl/dr: my advise would be to keep using cmake (and maybe also patch the version number back to 1.0.0).

I'll try.

@mwallnoefer Maybe it's good to create a new tag for this repo. The source code is pretty stable right now, so maybe we're ready for an official version 1.0.0.

Indeed, that would have been another ticket or at least suggestion from me: At least tag once in a while, especially when adding features.

Thanks for the explanations. I still want this library, as my company may consider using Qt soon, and that would be a good opportunity to drop libmosquittopp in favor of a proper Qt solution.

@mwallnoefer Maybe it's good to create a new tag for this repo. The source code is pretty stable right now, so maybe we're ready for an official version 1.0.0.

Let's sort out this version discrepancy between qmake and cmake and then yes, I could tag it with 1.0.0.

commented

@mwallnoefer Just created a pull request. Both qmake and cmake create binaries with version 1.0.0 now