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. Fatal error: QtMqtt/qmqttglobal.h: No such file or directory
Forum Updated to NodeBB v4.3 + New Features

Fatal error: QtMqtt/qmqttglobal.h: No such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
mqtt
12 Posts 4 Posters 2.0k Views 2 Watching
  • 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.
  • 2 Offline
    2 Offline
    20Stefan05
    wrote on last edited by 20Stefan05
    #3

    @Pablo-J-Rogina, I don't think so.I have tried to build it in the qt creator, but it had many errors. How should I install and build the module?

    1 Reply Last reply
    0
    • eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by eyllanesc
      #4

      @20Stefan05 You shouldn't use Qt Creator to compile mqtt, instead run the following in terminal:

      git clone https://github.com/qt/qtmqtt.git
      cd qtmqtt
      qmake .
      make 
      sudo make install
      

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      2 1 Reply Last reply
      0
      • eyllanescE eyllanesc

        @20Stefan05 You shouldn't use Qt Creator to compile mqtt, instead run the following in terminal:

        git clone https://github.com/qt/qtmqtt.git
        cd qtmqtt
        qmake .
        make 
        sudo make install
        
        2 Offline
        2 Offline
        20Stefan05
        wrote on last edited by
        #5

        @eyllanesc I did that, but at running make, I get Fatal error: QtMqtt/qmqttglobal.h: No such file or directory

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #6

          Hi,

          Are you sure you are using the correct version of Qt to build that module ?

          Do you have pearl installed ?
          Did you checkout the correct branch ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          2 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            Are you sure you are using the correct version of Qt to build that module ?

            Do you have pearl installed ?
            Did you checkout the correct branch ?

            2 Offline
            2 Offline
            20Stefan05
            wrote on last edited by
            #7

            @SGaist I have pearl installed. I am using Qt 5.12.4.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #8

              You did not answer all questions.

              Beside that, are you using the full path to qmake ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              2 1 Reply Last reply
              0
              • SGaistS SGaist

                You did not answer all questions.

                Beside that, are you using the full path to qmake ?

                2 Offline
                2 Offline
                20Stefan05
                wrote on last edited by
                #9

                @SGaist I don't know what is the correct branch. At the qmake I am entering the qtmqtt directory and just type "qmake".

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  Usually you would use the branch matching the Qt version you want to use.

                  How did you install Qt 5.12.4 ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  2 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Usually you would use the branch matching the Qt version you want to use.

                    How did you install Qt 5.12.4 ?

                    2 Offline
                    2 Offline
                    20Stefan05
                    wrote on last edited by
                    #11

                    @SGaist I have installed the qt maintenance tool and from it - the Qt 5.12.4. Should I try to make it in the Qt/5.12.4/gcc_64/bin?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      As I already wrote, use the full path to qmake. Otherwise you are going to use your distribution provided Qt.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1

                      • Login

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