Comments (5)
Not sure whats the problem here.
Does it make any difference if you try to replace the line with:
find_package(Qt 6 REQUIRED COMPONENTS Core Network Xml)
from qxmpp.
After the change is
CMake Warning (dev) at CMakeLists.txt:23 (find_package):
Policy CMP0084 is not set: The FindQt module does not exist for
find_package(). Run "cmake --help-policy CMP0084" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at C:/Program Files/CMake/share/cmake-3.26/Modules/FindQt.cmake:87 (message):
FindQt was called with invalid version '6'. Only Qt major versions 3 or 4
are supported. If you do not need to support both Qt3 and Qt4 in your
source consider calling find_package(Qt3) or find_package(Qt4) instead of
find_package(Qt) instead.
Call Stack (most recent call first):
CMakeLists.txt:23 (find_package)
-- Configuring incomplete, errors occurred!
from qxmpp.
Sorry! My mistake, I actually wanted to write:
find_package(Qt6 6.0 REQUIRED COMPONENTS Core Network Xml)
from qxmpp.
Sorry, it is still the same error, is it that I did not configure this path properly
D:/qt6.0/6.2.4/mingw_64/lib/cmake/Qt6/Qt6Config.cmake
How to configure this, please
from qxmpp.
You can set the path using cmake
with -DQt6_DIR=D:/qt6.0/6.2.4/mingw_64/lib/cmake/Qt6/
, but it seems like cmake has already found that directory, I'm not sure what's the error here.
from qxmpp.
Related Issues (20)
- Help with using the server
- 'QXmppPubSubBaseItem': an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_trivially_constructible' HOT 2
- Cmake unable to identify Qt HOT 1
- Android not connecting over TLS HOT 1
- How to confirm successful sending of single chat messages HOT 1
- Client: Constructor for creating empty client without extension
- ClientExtension: Add register() + unregister() functions
- Dynamic registration of XML extensions
- SCRAM-SHA-1-PLUS + SCRAM-SHA-256-PLUS + SCRAM-SHA-512-PLUS + SCRAM-SHA3-512-PLUS supports HOT 1
- Humongous amount of data sent upon each encrypted message HOT 1
- RFC 9266: Channel Bindings for TLS 1.3 support HOT 1
- Memory leak in OmemoManager
- SASL 2
- Undefined reference when trying to compile HOT 1
- XEP-0386: Bind 2
- Where is this library used HOT 1
- QXmpp 1.7 HOT 2
- XEP-0484: Fast Authentication Streamlining Tokens
- Support Qt4 to improve cross-platform compatibility HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qxmpp.