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

mqtt not working, even example simple-client not working with windows-msvc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 6.5, 6.6
    • MQTT
    • None
    • Windows

    Description

      The simpleclient example did compile but obviously it has threading issues inside under Qt/msvc.{}

      {{Here is the output. }}

      20:55:53: Starting D:\github.com\qtmqtt\examples\mqtt\build-simpleclient-Desktop_Qt_6_6_0_MSVC2019_64bit-Debug\simplemqttclient.exe...
      qt.core.qobject.connect: QObject::connect(QObject, Unknown): invalid nullptr parameter
      QObject: Cannot create children for a parent that is in a different thread.
      (Parent is MainWindow(0x8958ffb18), parent's thread is QThread(0x146ae4f96b0), current thread is QThread(0x146b2792a40)
      qt.core.qobject.connect: QObject::connect(QObject, QThreadPool): invalid nullptr parameter
      qt.core.qobject.connect: QObject::connect(QObject, Unknown): invalid nullptr parameter 

      BTW, the code works well under Qt/MingW_GCC/Windows and Qt/Gcc/Linux.{}

      Attachments

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

        Activity

          People

            fragrans LL L
            fragrans LL L
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes