Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtMqtt deployment Failed
QtWS25 Last Chance

QtMqtt deployment Failed

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 622 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    arilink
    wrote on last edited by arilink
    #1

    I tried to use Mqtt to communicate in the project. So I downloaded the 5.14.2 version of mqtt from https://github.com/qt/qtmqtt. I encountered the following problems during the compilation process:
    1:
    d736b901-fbd1-41b1-92aa-e3227babd908-image.png

    2.For the above problem, I put Mqtt in the mqtt source directory under the Qt installation directory, it can be solved, and the compilation can be completed normally.
    3.Then I tried to deploy mqtt to the Qt installation directory. The specific process is shown in this link: https://www.pianshen.com/article/74801067784/

    4.I created a new project, QT+=mqtt in the .pro file, and #include<QtMqtt/QtMqtt> in the c++ file, and the following error occurred when compiling
    e6531dc0-9561-429b-a94e-d63952a09f8a-image.png
    5.The mqtt module almost crashed me. I asked someone to analyze the reason. It looks like 6 when compiling normally.

    6.8493f31c-dcbe-4bcb-9b18-10093279dae4-image.png

    7.The abnormal compilation is shown in 7, can you help me? I'm about to break down
    bd11e1ff-a77a-4cbf-a579-547e54911fe5-image.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Since you are using git sources you are likely missing Perl on your system for the header generation part which would explain why your build of the module failed.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        arilink
        wrote on last edited by
        #3

        @SGaist said in QtMqtt deployment Failed:

        t源,因此您可能会在系统上缺少标头生成部分的Perl,这可能解释了模块构建失败的原因。
        I already have perl installed on my computer. How can I solve this problem?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you restart the build of QtMqtt from scratch nuking the build directory first ?

          Check any output that shows error when configuring/starting the build.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arilink
            wrote on last edited by
            #5

            No matter how I set it up, the compilation cannot be completed normally. I don’t know where the problem is.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arilink
              wrote on last edited by
              #6

              Compiler Environment:
              1.window 10 x64
              2.Qt 5.15.2
              I downloaded QtMqtt 5.12 version of Mqtt from github and then compiled it. There were a lot of errors. No matter how I tried, the compilation could not be completed normally.
              The following is the specific compilation information

              cd src/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/src/src.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd src/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[1]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src'
              cd mqtt/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/src/mqtt/mqtt.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd mqtt/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[2]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src/mqtt'
              mingw32-make[2]: Nothing to be done for 'qmake_all'.
              mingw32-make[2]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src/mqtt'
              mingw32-make[1]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src'
              cd examples/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/examples.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd examples/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[1]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples'
              cd mqtt/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/mqtt/mqtt.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd mqtt/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[2]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt'
              cd consolepubsub/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/mqtt/consolepubsub/consolepubsub.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd consolepubsub/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/consolepubsub'
              D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile.qtmqtt_pub E:/Mark1/qtmqtt-5.15.2/examples/mqtt/consolepubsub/qtmqtt_pub.pro -spec win32-g++ CONFIG+=qtquickcompiler
              D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile.qtmqtt_pub qmake_all
              mingw32-make[4]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/consolepubsub'
              mingw32-make[4]: Nothing to be done for 'qmake_all'.
              mingw32-make[4]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/consolepubsub'
              D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile.qtmqtt_sub E:/Mark1/qtmqtt-5.15.2/examples/mqtt/consolepubsub/qtmqtt_sub.pro -spec win32-g++ CONFIG+=qtquickcompiler
              D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile.qtmqtt_sub qmake_all
              mingw32-make[4]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/consolepubsub'
              mingw32-make[4]: Nothing to be done for 'qmake_all'.
              mingw32-make[4]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/consolepubsub'
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/consolepubsub'
              cd simpleclient/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/mqtt/simpleclient/simpleclient.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd simpleclient/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/simpleclient'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/simpleclient'
              cd subscriptions/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/mqtt/subscriptions/subscriptions.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd subscriptions/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/subscriptions'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/subscriptions'
              cd quicksubscription/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/mqtt/quicksubscription/quicksubscription.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd quicksubscription/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/quicksubscription'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/quicksubscription'
              cd quickpublication/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/mqtt/quickpublication/quickpublication.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd quickpublication/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/quickpublication'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/quickpublication'
              cd websocketsubscription/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/examples/mqtt/websocketsubscription/websocketsubscription.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd websocketsubscription/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/websocketsubscription'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt/websocketsubscription'
              mingw32-make[2]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples/mqtt'
              mingw32-make[1]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/examples'
              cd tests/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/tests.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd tests/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[1]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests'
              cd auto/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/auto.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd auto/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[2]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto'
              cd cmake/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/cmake/cmake.pro -spec win32-g++ CONFIG+=qtquickcompiler
              Project MESSAGE: cmake executable not found. Not running CMake unit tests
              cd cmake/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/cmake'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/cmake'
              cd conformance/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/conformance/conformance.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd conformance/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/conformance'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/conformance'
              cd qmqttconnectionproperties/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqttconnectionproperties/qmqttconnectionproperties.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttconnectionproperties/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttconnectionproperties'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttconnectionproperties'
              cd qmqttcontrolpacket/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqttcontrolpacket/qmqttcontrolpacket.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttcontrolpacket/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttcontrolpacket'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttcontrolpacket'
              cd qmqttclient/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqttclient/qmqttclient.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttclient/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttclient'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttclient'
              cd qmqttlastwillproperties/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqttlastwillproperties/qmqttlastwillproperties.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttlastwillproperties/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttlastwillproperties'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttlastwillproperties'
              cd qmqttpublishproperties/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqttpublishproperties/qmqttpublishproperties.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttpublishproperties/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttpublishproperties'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttpublishproperties'
              cd qmqttsubscription/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqttsubscription/qmqttsubscription.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttsubscription/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttsubscription'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttsubscription'
              cd qmqttsubscriptionproperties/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqttsubscriptionproperties/qmqttsubscriptionproperties.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttsubscriptionproperties/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttsubscriptionproperties'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqttsubscriptionproperties'
              cd qmqtttopicname/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqtttopicname/qmqtttopicname.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqtttopicname/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqtttopicname'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqtttopicname'
              cd qmqtttopicfilter/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/auto/qmqtttopicfilter/qmqtttopicfilter.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqtttopicfilter/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqtttopicfilter'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto/qmqtttopicfilter'
              mingw32-make[2]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/auto'
              cd benchmarks/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/benchmarks/benchmarks.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd benchmarks/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[2]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/benchmarks'
              cd qmqttclient/ && D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/tests/benchmarks/qmqttclient/qmqttclient.pro -spec win32-g++ CONFIG+=qtquickcompiler
              cd qmqttclient/ && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile qmake_all
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/benchmarks/qmqttclient'
              mingw32-make[3]: Nothing to be done for 'qmake_all'.
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/benchmarks/qmqttclient'
              mingw32-make[2]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests/benchmarks'
              mingw32-make[1]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/tests'
              17:11:45: 进程"D:\Qt\Qt5.15.2\Tools\mingw810_32\bin\mingw32-make.exe"正常退出。
              17:11:45: 正在启动 "D:\Qt\Qt5.15.2\Tools\mingw810_32\bin\mingw32-make.exe" -j12

              cd src/ && ( test -e Makefile || D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/src/src.pro -spec win32-g++ CONFIG+=qtquickcompiler ) && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile
              mingw32-make[1]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src'
              cd mqtt/ && ( test -e Makefile || D:/Qt/Qt5.15.2/5.15.2/mingw81_32/bin/qmake.exe -o Makefile E:/Mark1/qtmqtt-5.15.2/src/mqtt/mqtt.pro -spec win32-g++ CONFIG+=qtquickcompiler ) && D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile
              mingw32-make[2]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src/mqtt'
              D:/Qt/Qt5.15.2/Tools/mingw810_32/bin/mingw32-make -f Makefile.Release
              mingw32-make[3]: Entering directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src/mqtt'
              g++ -c -fno-keep-inline-dllexport -msse2 -mstackrealign -mfpmath=sse -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_MQTT_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -IE:/Mark1/qtmqtt-5.15.2/src/mqtt -I. -IE:/Mark1/qtmqtt-5.15.2/include -IE:/Mark1/qtmqtt-5.15.2/include/QtMqtt -I../../include -I../../include/QtMqtt -IE:/Mark1/qtmqtt-5.15.2/include/QtMqtt/5.15.2 -IE:/Mark1/qtmqtt-5.15.2/include/QtMqtt/5.15.2/QtMqtt -Itmp -ID:/Qt/Qt5.15.2/5.15.2/mingw81_32/include -ID:/Qt/Qt5.15.2/5.15.2/mingw81_32/include/QtNetwork -ID:/Qt/Qt5.15.2/5.15.2/mingw81_32/include/QtCore/5.15.2 -ID:/Qt/Qt5.15.2/5.15.2/mingw81_32/include/QtCore/5.15.2/QtCore -ID:/Qt/Qt5.15.2/5.15.2/mingw81_32/include/QtCore -I.moc/release -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-win32\include -IC:\Utils\postgresql\pgsql\include -ID:/Qt/Qt5.15.2/5.15.2/mingw81_32/mkspecs/win32-g++ -o .obj/release/qmqttauthenticationproperties.o E:/Mark1/qtmqtt-5.15.2/src/mqtt/qmqttauthenticationproperties.cpp
              In file included from E:/Mark1/qtmqtt-5.15.2/src/mqtt/qmqttauthenticationproperties.cpp:30:
              E:/Mark1/qtmqtt-5.15.2/src/mqtt/qmqttauthenticationproperties.h:33:10: fatal error: QtMqtt/qmqttglobal.h: No such file or directory
              #include <QtMqtt/qmqttglobal.h>
              ^~~~~~~~~~~~~~~~~~~~~~
              compilation terminated.
              mingw32-make[3]: *** [Makefile.Release:584: .obj/release/qmqttauthenticationproperties.o] Error 1
              mingw32-make[2]: *** [Makefile:45: release] Error 2
              mingw32-make[1]: *** [Makefile:50: sub-mqtt-make_first] Error 2
              mingw32-make: *** [Makefile:52: sub-src-make_first] Error 2
              mingw32-make[3]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src/mqtt'
              mingw32-make[2]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src/mqtt'
              mingw32-make[1]: Leaving directory 'E:/Mark1/build-qtmqtt-Desktop_Qt_5_15_2_MinGW_32_bit-Release/src'
              17:11:48: 进程"D:\Qt\Qt5.15.2\Tools\mingw810_32\bin\mingw32-make.exe"退出,退出代码 2 。
              Error while building/deploying project qtmqtt (kit: Desktop Qt 5.15.2 MinGW 32-bit)
              When executing step "Make"

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Which version of Perl are you using ?

                From the looks of it, it's not the log of a complete full rebuild.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arilink
                  wrote on last edited by
                  #8

                  @SGaist said in QtMqtt deployment Failed:

                  Which version of Perl are you using ?
                  From the looks of it, it's not the log of a complete full rebuild.
                  perl version is 5.22.1

                  He did not complete the compilation, mingw32-make[2]: Nothing to be done for'qmake_all' will appear.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    I meant the release of Perl, the guide to build Qt 5 from Git recommends StrawberryPerl.

                    As I said before, the log you are showing here looks like a build on top of an already attempted build rather than one from scratch (which means completely nuking the build folder). The "nothing to be done" typically appears when there's already been a build (successful or not) done.

                    Hence I am asking you to do a full clean rebuild which means completely removing the build folders before hitting the build button. You should have a message near the start of the build process stating that the forward headers are being generated if they are not then you likely have an issue with pearl.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved