Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93074

qtmqtt deployment failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.14.2
    • MQTT
    • None
    • 0.   QT version : 5.14.2 Mqtt version 5.14.2 
    • Windows

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mkalinow Maurice Kalinowski
              arilink liutao shi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes