Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.14.2
-
None
-
0. QT version : 5.14.2 Mqtt version 5.14.2
Description
1. Compiling Mqtt directly will report an error fatal error: QtMqtt/qmqttglobal.h
No such file or directory
2. Copy xxx\qtmqtt-5.14.2\src\mqtt to D:\Qt5.14.2\5.14.2\mingw73_32\include\QtMqtt compile and compile again, although it passes: \mqtt5.14\build-qtmqtt-Desktop_Qt_5_14_1_MinGW_32_bit-Release\ There is only one QtMqttDepends file under include\QtMqtt
3.Copy the compiled bin file lib file moudle file to the Qt installation directory
4.Create a new project and add Qt+=mqtt network to the .pro file, and then add <QtMqtt/QtMqtt> to the cpp file, and the program fails to compile, prompting E:\Mark1\Link With Ali\Qt Porg\untitled\mainwindow.h:5: error :'QtMqtt/QtMqtt' file not found
5.Refer to this link: https://www.pianshen.com/article/74801067784/ for the operation
Attachments
Issue Links
- duplicates
-
QTBUG-93073 qtmqtt deployment failed
-
- Closed
-