Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QTMQTT build error with QT 6.7.2
Forum Updated to NodeBB v4.3 + New Features

QTMQTT build error with QT 6.7.2

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 273 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.
  • D Offline
    D Offline
    DangNguyen
    wrote on last edited by DangNguyen
    #1

    I try to build qtmqtt with QT 6.7.2.

    I got source code as below.

    git clone https://github.com/qt/qtmqtt.git
    git checkout v6.7.2
    

    And follows the guide below.
    https://stackoverflow.com/questions/68928310/build-specific-modules-in-qt6-i-e-qtmqtt/71984521#71984521

    I got the error.

     /Qt/6.7.2/gcc_64/include/QtCore/qcomparehelpers.h:211:43:
      error: zero as null pointer constant
      [-Werror=zero-as-null-pointer-constant]
    
        211 |     { return compareThreeWay(lhs, rhs) >= 0; }
            |   
    

    I do the same as above with QT 6.5.3 by getting source code as below. But there is no error.

    git clone https://github.com/qt/qtmqtt.git
    git checkout v6.5.3
    

    Is there any idea to fix build error with QT6.7.2?

    Thanks.

    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