Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WrapOpenSSL could not be found #25

Closed
x-tools-author opened this issue May 3, 2024 · 5 comments
Closed

WrapOpenSSL could not be found #25

x-tools-author opened this issue May 3, 2024 · 5 comments

Comments

@x-tools-author
Copy link

I use the kit(Qt6.5.3-Windows-x86_64-VS2022-17.9.0-staticFull-20240216) to open a project and then error occurred:

but it set Qt6Core_FOUND to FALSE so package "Qt6Core" is considered to be
NOT FOUND.  Reason given by package:

Qt6Core could not be found because dependency WrapOpenSSL could not be
found.

Configuring with --debug-find-pkg=WrapOpenSSL might reveal details why the
package was not found.

Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.
@Fsu0413
Copy link
Owner

Fsu0413 commented May 4, 2024

Should I try to stop distributing static versions with OpenSSL...
It caused too much more trouble than I thought of.


Did you use "-DQt6_DIR=<path>" or "-DCMAKE_PREFIX_PATH=<path>" for specifying path of Qt?
I recommend the latter one since it can automatically find the libraries in lib directory.

@x-tools-author
Copy link
Author

I specify nothing, just using qtcreator default configuration, but bot Qt6_DIR and CMAKE_PREFIX_PATH will be set automatically by QtCreator

@Fsu0413
Copy link
Owner

Fsu0413 commented May 10, 2024

So FindWrapOpenSSL.cmake also searches for the header files.


For Windows / macOS platform I'd stop distributing static versions with OpenSSL.
This will be done in next build (no plan for now). I'll close this issue when next build is uploaded.

@Fsu0413
Copy link
Owner

Fsu0413 commented May 10, 2024

Fsu0413 added a commit that referenced this issue May 11, 2024
Fsu0413 added a commit that referenced this issue May 11, 2024
@Fsu0413
Copy link
Owner

Fsu0413 commented May 11, 2024

Rebuild uploaded.


重新构建了,上传完了。

@Fsu0413 Fsu0413 closed this as completed May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants