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. Issues with QtMQTT install on Mac (Qt 6.6.2)
Forum Updated to NodeBB v4.3 + New Features

Issues with QtMQTT install on Mac (Qt 6.6.2)

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

    I have been following this guide:
    https://www.emqx.com/en/blog/how-to-create-an-mqtt-application-in-qt6
    to install QtMQTT on Mac M1 chip with Qt 6.6.2. In the guide I was able to compile the qtmqtt project in Qt Creator and copy most of the necessary files and folders from the build folder into the newly created QtMqtt directory within my Qt/6.6.2/macos/include/ directory. However, for this step

    Screenshot 2024-03-18 at 6.26.13 PM.png

    I only see one .pri file, so I copied that over and then tried to run the SimpleClient example project and the build failed. When I recloned the qtmqtt repo and restarted the steps, the qtmqtt project does not even compile anymore in Qt. It gives this error:

    Screenshot 2024-03-18 at 6.26.33 PM.png

    Any help is appreciated!

    jsulmJ 1 Reply Last reply
    0
    • P pleaseHelpIAmDesperate

      I have been following this guide:
      https://www.emqx.com/en/blog/how-to-create-an-mqtt-application-in-qt6
      to install QtMQTT on Mac M1 chip with Qt 6.6.2. In the guide I was able to compile the qtmqtt project in Qt Creator and copy most of the necessary files and folders from the build folder into the newly created QtMqtt directory within my Qt/6.6.2/macos/include/ directory. However, for this step

      Screenshot 2024-03-18 at 6.26.13 PM.png

      I only see one .pri file, so I copied that over and then tried to run the SimpleClient example project and the build failed. When I recloned the qtmqtt repo and restarted the steps, the qtmqtt project does not even compile anymore in Qt. It gives this error:

      Screenshot 2024-03-18 at 6.26.33 PM.png

      Any help is appreciated!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @pleaseHelpIAmDesperate You should better follow https://stackoverflow.com/questions/68928310/build-specific-modules-in-qt6-i-e-qtmqtt/71984521#71984521 and install the build modules using:

      ~/Qt/Tools/CMake/bin/cmake --install . --verbose
      

      no need to copy anything manually.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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 Extensions
      • Unsolved