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

Compile QtMqtt for Boot2Qt\apalis-imx6 on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.11.1
    • Fix Version/s: None
    • Component/s: Device Creation, MQTT
    • Labels:
      None
    • Environment:
      tested on WIndows 10 and windows 7
    • Platform/s:
      Windows

      Description

      Hello,
      I try to compile QtMqtt for Boot2Qt\apalis-imx6 on Windows and get the following error:
      (it works on my Ubuntu Linux system)

      cd C:\Qt\5.11.1\Automation\sources\qtmqtt
      cd build
      C:\Qt\5.11.1\Boot2Qt\apalis-imx6\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe ../qtmqtt.pro
      C:/Qt/5.11.1/Boot2Qt/apalis-imx6/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/make

      cd src\ && ( if not exist Makefile C:\Qt\5.11.1\Boot2Qt\apalis-imx6\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -o Makefile C:\Qt\5.11.1\Automation\sources\qtmqtt\src\src.pro ) && C:/Qt/5.11.1/Boot2Qt/apalis-imx6/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/make -f Makefile
      make[1]: Entering directory 'C:/Qt/5.11.1/Automation/sources/qtmqtt/build/src'
      cd mqtt\ && ( if not exist Makefile C:\Qt\5.11.1\Boot2Qt\apalis-imx6\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\qmake.exe -o Makefile C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\mqtt.pro ) && C:/Qt/5.11.1/Boot2Qt/apalis-imx6/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/make -f Makefile
      make[2]: Entering directory 'C:/Qt/5.11.1/Automation/sources/qtmqtt/build/src/mqtt'
      compiling C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttclient.cpp
      compiling C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttconnection.cpp
      compiling C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttcontrolpacket.cpp
      compiling C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttmessage.cpp
      compiling C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttsubscription.cpp
      compiling C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqtttopicfilter.cpp
      compiling C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqtttopicname.cpp
      generating .moc/moc_predefs.h
      moc C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttclient.h
      compiling .moc\moc_qmqttclient.cpp
      moc C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttmessage.h
      compiling .moc\moc_qmqttmessage.cpp
      moc C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttsubscription.h
      compiling .moc\moc_qmqttsubscription.cpp
      moc C:\Qt\5.11.1\Automation\sources\qtmqtt\src\mqtt\qmqttconnection_p.h
      compiling .moc\moc_qmqttconnection_p.cpp
      del libQt5Mqtt.so.5.11.1 libQt5Mqtt.so libQt5Mqtt.so.5 libQt5Mqtt.so.5.11
      C:\Qt\5.11.1\Automation\sources\qtmqtt\build\src\mqtt\libQt5Mqtt.so.5.11.1 konnte nicht gefunden werden
      linking ..\..\lib\libQt5Mqtt.so.5.11.1
      c:/qt/5.11.1/boot2qt/apalis-imx6/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.4.0/real-ld.exe:QtMqtt.version:0: syntax error in VERSION script
      collect2.exe: error: ld returned 1 exit status
      make[2]: *** [Makefile:115: ..\..\lib\libQt5Mqtt.so.5.11.1] Error 1
      make[2]: Leaving directory 'C:/Qt/5.11.1/Automation/sources/qtmqtt/build/src/mqtt'
      make[1]: *** [Makefile:45: sub-mqtt-make_first] Error 2
      make[1]: Leaving directory 'C:/Qt/5.11.1/Automation/sources/qtmqtt/build/src'
      make: *** [Makefile:47: sub-src-make_first] Error 2

      C:\Qt\5.11.1\Automation\sources\qtmqtt\build>

        Attachments

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

          Activity

            People

            Assignee:
            martin.j Martin Junghans
            Reporter:
            martin.j Martin Junghans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes