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. Compiling QtMqtt in 6.5.0 version
Forum Updated to NodeBB v4.3 + New Features

Compiling QtMqtt in 6.5.0 version

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 3 Posters 1.0k Views 1 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.
  • M Offline
    M Offline
    MarioFromAlassio
    wrote on last edited by
    #1

    Hi last year i have installed QT 6.2.3 open source with Qt Mainteance tool,
    i need qtmqtt module and i found a procedure to compiling from source downloaded with QtMaintenance tool.
    Now i like to install 6.5.0 version so i downloaded all distribution with sources without uninstall 6.2.3.
    Well i am not able to compile and install qtmqtt module for new version.
    Is there someone that can halp me?

    Thank a lot !!!
    Bye!!

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

      Hi,

      Can you explain what issue you are getting ?

      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
      0
      • M Offline
        M Offline
        MarioFromAlassio
        wrote on last edited by
        #3

        Probably is a misconfiguration of the environment.
        I read the readme file in Src folder and i followed the istruction
        to compile entire QT but i don't need to recompile
        all QT but only the qtmqtt module.
        I have installed visual studio community 2022
        and, as i said, 6.2.3 and 6.5.0 of Qt.
        I 'don't know if there is a sort of guideline to compile and
        install only a module.
        Thank in advance.

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

          The simple way:

          • open the module in Qt Creator
          • add a custom step to install the result
          • build and install

          Do it twice, once for release and once for debug

          The usually way

          • open a terminal
          • create a build directory
          • go into it
          • use the qt-cmake from the Qt 6 version you want to build your module for
          • build
          • install

          Do it once for release and once for debug.

          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
          0
          • M Offline
            M Offline
            MarioFromAlassio
            wrote on last edited by
            #5

            Sorry but there isn't any .pro file in Src/qtmqtt folder so how have i to do to open in QtCreator ?

            jsulmJ 1 Reply Last reply
            0
            • M MarioFromAlassio

              Sorry but there isn't any .pro file in Src/qtmqtt folder so how have i to do to open in QtCreator ?

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

              @MarioFromAlassio Then there should be CMakeLists.txt file (Qt6 switched to CMake).

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

              1 Reply Last reply
              0
              • M Offline
                M Offline
                MarioFromAlassio
                wrote on last edited by
                #7

                Yes it is. Sorry i didn't know that was possible to load project in QtCreator via CMakeList.txt.
                I'm 55 years old but i'm a baby in QT.
                Thank a lot!
                I'm going to try ;-)
                Bye

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  MarioFromAlassio
                  wrote on last edited by
                  #8

                  Yes it works :
                  1 load QtCreator -> Load Project c:\Qt\6.5.0.Src\QtMqtt\CMakeList.txt
                  2 Build Release and Debug
                  3 Exit QtCreator
                  4 Go to C:\Qt\Src\6.5.0\build-qtmqtt-Desktop_Qt_6_5_0_MinGW_64_bit-Release
                  5 cmake --install . (see the point at the end)
                  Done

                  Thank to all!!!!
                  Bye!

                  1 Reply Last reply
                  3

                  • Login

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