disposition qxmpp
-
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)
-
Hi and welcome to devnet,
Are you using the cmake wrapper you can find in the Qt installation you are using ?
-
@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_qtmaster uh,qt6.0 is self-named, and the later qt6.2.4 is the compiler version
-
@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 itIf 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.
-
@SGaist ![alt text]( 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 -
@hzha said in disposition qxmpp:
didn't work
In what way it didn't work?
Saying "didn't work" does not help much.