Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. disposition qxmpp
Qt 6.11 is out! See what's new in the release blog

disposition qxmpp

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
16 Posts 4 Posters 2.7k 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.
  • H Offline
    H Offline
    hzha
    wrote on last edited by
    #1

    After I execute cmake

    -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.22631.
    CMake Error at CMakeLists.txt:22 (find_package):
      Could not find a configuration file for package "QT" that is compatible
      with requested version "".
    
      The following configuration files were considered but not accepted:
    
        D:/qt6.0/6.2.4/mingw_64/lib/cmake/Qt6/Qt6Config.cmake, version: 6.2.4 (64bit)
    
    
    
    -- Configuring incomplete, errors occurred!
    

    That place

    # Qt
    if(NOT DEFINED QT_VERSION_MAJOR)
        find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Network Xml)
    endif()
    message("-- Choosing Qt ${QT_VERSION_MAJOR}")
    find_package(Qt${QT_VERSION_MAJOR} 5.15.0 REQUIRED COMPONENTS Core Network Xml)
    
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Are you using the cmake wrapper you can find in the Qt installation you are using ?

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

      H 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Are you using the cmake wrapper you can find in the Qt installation you are using ?

        H Offline
        H Offline
        hzha
        wrote on last edited by
        #3

        @SGaist I downloaded the qxmpp source code from github and I want to import it into my own project

        SGaistS 1 Reply Last reply
        0
        • H hzha

          @SGaist I downloaded the qxmpp source code from github and I want to import it into my own project

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @hzha this does not answer my question.

          Also, what do you mean by importing into your project ? Use it and link to it or include its sources inside your project ?

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

          H 1 Reply Last reply
          0
          • SGaistS SGaist

            @hzha this does not answer my question.

            Also, what do you mean by importing into your project ? Use it and link to it or include its sources inside your project ?

            H Offline
            H Offline
            hzha
            wrote on last edited by
            #5

            @SGaist yes,As the md file says, I want to compile it using cmake

            SGaistS 1 Reply Last reply
            0
            • H hzha

              @SGaist yes,As the md file says, I want to compile it using cmake

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @hzha did you follow my suggestion ?

              By the way, did you consider building the project directly with Qt Creator ?

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

              H 1 Reply Last reply
              0
              • SGaistS SGaist

                @hzha did you follow my suggestion ?

                By the way, did you consider building the project directly with Qt Creator ?

                H Offline
                H Offline
                hzha
                wrote on last edited by
                #7

                @SGaistI may not understand what you mean, but please forgive me, this may be a translation problem, I have tried to use "cmake..." I've tried building directly in qtcreate, but the results are the same,
                ok, I tried it again, and now that it's ready to build, I might still need to execute cmake if I have it

                Ronel_qtmasterR SGaistS 2 Replies Last reply
                0
                • H hzha

                  @SGaistI may not understand what you mean, but please forgive me, this may be a translation problem, I have tried to use "cmake..." I've tried building directly in qtcreate, but the results are the same,
                  ok, I tried it again, and now that it's ready to build, I might still need to execute cmake if I have it

                  Ronel_qtmasterR Offline
                  Ronel_qtmasterR Offline
                  Ronel_qtmaster
                  wrote on last edited by
                  #8

                  @hzha i have a question.Why is there both qt6.0 and 6.2.4 in your path?

                  H 1 Reply Last reply
                  0
                  • Ronel_qtmasterR Ronel_qtmaster

                    @hzha i have a question.Why is there both qt6.0 and 6.2.4 in your path?

                    H Offline
                    H Offline
                    hzha
                    wrote on last edited by
                    #9

                    @Ronel_qtmaster uh,qt6.0 is self-named, and the later qt6.2.4 is the compiler version

                    1 Reply Last reply
                    0
                    • H hzha

                      @SGaistI may not understand what you mean, but please forgive me, this may be a translation problem, I have tried to use "cmake..." I've tried building directly in qtcreate, but the results are the same,
                      ok, I tried it again, and now that it's ready to build, I might still need to execute cmake if I have it

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @hzha said in disposition qxmpp:

                      @SGaistI may not understand what you mean, but please forgive me, this may be a translation problem, I have tried to use "cmake..." I've tried building directly in qtcreate, but the results are the same,
                      ok, I tried it again, and now that it's ready to build, I might still need to execute cmake if I have it

                      If you look in the bin folder of your Qt installation, you'll see qt-cmake which is a small wrapper that will have the paths configured for using the Qt version it's located in.

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

                      H 1 Reply Last reply
                      1
                      • SGaistS SGaist

                        @hzha said in disposition qxmpp:

                        @SGaistI may not understand what you mean, but please forgive me, this may be a translation problem, I have tried to use "cmake..." I've tried building directly in qtcreate, but the results are the same,
                        ok, I tried it again, and now that it's ready to build, I might still need to execute cmake if I have it

                        If you look in the bin folder of your Qt installation, you'll see qt-cmake which is a small wrapper that will have the paths configured for using the Qt version it's located in.

                        H Offline
                        H Offline
                        hzha
                        wrote on last edited by
                        #11

                        @SGaist Can you tell me in detail, I don't know how to modify,Thank you very much

                        SGaistS 1 Reply Last reply
                        0
                        • H hzha

                          @SGaist Can you tell me in detail, I don't know how to modify,Thank you very much

                          SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @hzha modify what exactly ?

                          By the way, didn't you write that you successfully compile the module with Qt Creator ?

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

                          H 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            @hzha modify what exactly ?

                            By the way, didn't you write that you successfully compile the module with Qt Creator ?

                            H Offline
                            H Offline
                            hzha
                            wrote on last edited by
                            #13

                            @SGaist ![alt text](15f1bc72-1ddd-4df2-b6c6-79ca5bffd588-image.png image url)
                            probably your don't understand what I mean, according to the documentation I need to do cmake and then cmake -- build. --target install before I can use qxmpp in my own projects, but I have given up using it, it is too cumbersome

                            jsulmJ 1 Reply Last reply
                            0
                            • H hzha

                              @SGaist ![alt text](15f1bc72-1ddd-4df2-b6c6-79ca5bffd588-image.png image url)
                              probably your don't understand what I mean, according to the documentation I need to do cmake and then cmake -- build. --target install before I can use qxmpp in my own projects, but I have given up using it, it is too cumbersome

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

                              @hzha All @SGaist is telling you is to use qt-cmake instead of cmake, why don't you simply try that?

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

                              H 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @hzha All @SGaist is telling you is to use qt-cmake instead of cmake, why don't you simply try that?

                                H Offline
                                H Offline
                                hzha
                                wrote on last edited by
                                #15

                                @jsulm I only found qt-cmake.bat, tried it, didn't work, you think I didn't try

                                jsulmJ 1 Reply Last reply
                                0
                                • H hzha

                                  @jsulm I only found qt-cmake.bat, tried it, didn't work, you think I didn't try

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

                                  @hzha said in disposition qxmpp:

                                  didn't work

                                  In what way it didn't work?
                                  Saying "didn't work" does not help much.

                                  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