Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.0
-
None
Description
I use free version of Qt.
When installing the qtmqtt library I get a compilation error.
{{}}
This is my process ->
C:\Users\cdupa>qmake -query QT_INSTALL_LIBS
D:/programmes/Qt/5.15.0/mingw81_32/lib
cd D:/programmes/Qt/5.15.0/mingw81_32/lib}}{{{{git clone git://code.qt.io/qt/qtmqtt.git}}
{{}}{{cd qtmqtt{{
qmake
}}{{make }}}}
{}partial result is
qmqttconnection.cpp: In member function 'void QMqttConnection::finalize_connack()':
qmqttconnection.cpp:1452:26: error: 'class QList<QMqttTopicName>' has no member named 'resize'; did you mean 'size'?
{{ m_receiveAliases.resize(m_clientPrivate->m_serverConnectionProperties.maximumTopicAlias());}}
{{ ^~~~~~}}
{{ size}}
qmqttconnection.cpp:1453:26: error: 'class QList<QMqttTopicName>' has no member named 'resize'; did you mean 'size'?
{{ m_publishAliases.resize(m_clientPrivate->m_connectionProperties.maximumTopicAlias());}}
{{ ^~~~~~}}
{{ size}}
make[3]: *** [Makefile.Release:991: .obj/release/qmqttconnection.o] Error 1
make[3]: Leaving directory 'D:/programmes/Qt/5.15.0/mingw81_32/lib/qtmqtt/src/mqtt'
{{make[2]: *** [Makefile:45: release] Error 2{{
}}}}
{{}}
{{as you can see there is a compilation error, the resize member does not exist in the QList class. I think the qtmqtt library should be compiled.
Anyone have an idea?}}