QTMQTT build error with QT 6.7.2
Unsolved
Installation and Deployment
-
I try to build qtmqtt with QT 6.7.2.
I got source code as below.
git clone https://github.com/qt/qtmqtt.git git checkout v6.7.2
And follows the guide below.
https://stackoverflow.com/questions/68928310/build-specific-modules-in-qt6-i-e-qtmqtt/71984521#71984521I got the error.
/Qt/6.7.2/gcc_64/include/QtCore/qcomparehelpers.h:211:43: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 211 | { return compareThreeWay(lhs, rhs) >= 0; } |
I do the same as above with QT 6.5.3 by getting source code as below. But there is no error.
git clone https://github.com/qt/qtmqtt.git git checkout v6.5.3
Is there any idea to fix build error with QT6.7.2?
Thanks.