Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Mqtt compilation failed
Qt 6.12 LTS is out! See what's new in the release blog

Qt Mqtt compilation failed

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 421 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.
  • C Offline
    C Offline
    conuson
    wrote on last edited by
    #1

    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

    • Login

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