Hi Thiago,

The example in question is Scene Graph

Best,

Nuno

[cmake] Running C:\Qt\Tools\CMake_64\bin\cmake.exe -S 
C:/Qt/Examples/Qt-6.6.1/quick/scenegraph/graph -B 
C:/Qt/Examples/Qt-6.6.1/quick/scenegraph/build-graph-Desktop_Qt_6_6_3_MSVC2019_64bit_static-Debug
 in 
C:\Qt\Examples\Qt-6.6.1\quick\scenegraph\build-graph-Desktop_Qt_6_6_3_MSVC2019_64bit_static-Debug.
[cmake] -- Using Qt bundled ZLIB.
[cmake] -- Using Qt bundled PCRE2.
[cmake] -- Using Qt bundled PNG.
[cmake] -- Using Qt bundled Harfbuzz.
[cmake] -- Using Qt bundled Freetype.
[cmake] -- Using Qt bundled Jpeg.
[cmake] -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder 
in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) 
(found version "1.1.1c")
[cmake] -- Could NOT find WrapOpenSSL (missing: OPENSSL_CRYPTO_LIBRARY) (found 
version "1.1.1c")
[cmake] CMake Warning at 
C:/Qt/Tools/CMake_64/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 
(find_package):
[cmake]   Found package configuration file:
[cmake] 
[cmake]     
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Network/Qt6NetworkConfig.cmake
[cmake] 
[cmake]   but it set Qt6Network_FOUND to FALSE so package "Qt6Network" is 
considered
[cmake]   to be NOT FOUND.  Reason given by package:
[cmake] 
[cmake]   Qt6Network could not be found because dependency WrapOpenSSL could 
not be
[cmake]   found.
[cmake] 
[cmake] Call Stack (most recent call first):
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 
(find_dependency)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6QTuioTouchPluginDependencies.cmake:15
 (_qt_internal_find_qt_dependencies)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6QTuioTouchPluginConfig.cmake:48 
(include)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 
(include)
[cmake]   C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:5 
(__qt_internal_include_plugin_packages)
[cmake]   C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:125 
(include)
[cmake]   C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6/Qt6Config.cmake:164 
(find_package)
[cmake]   CMakeLists.txt:13 (find_package)
[cmake] 
[cmake] 
[cmake] -- Configuring done (1.8s)
[cmake] CMake Error at 
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Network/Qt6QTlsBackendOpenSSLPluginTargets.cmake:61
 (set_target_properties):
[cmake]   The link interface of target "Qt6::QTlsBackendOpenSSLPlugin" contains:
[cmake] 
[cmake]     WrapOpenSSL::WrapOpenSSL
[cmake] 
[cmake]   but the target was not found.  Possible reasons include:
[cmake] 
[cmake]     * There is a typo in the target name.
[cmake]     * A find_package call is missing for an IMPORTED target.
[cmake]     * An ALIAS target is missing.
[cmake] 
[cmake] Call Stack (most recent call first):
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Network/Qt6QTlsBackendOpenSSLPluginConfig.cmake:51
 (include)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 
(include)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Network/Qt6NetworkPlugins.cmake:5 
(__qt_internal_include_plugin_packages)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Network/Qt6NetworkConfig.cmake:125 
(include)
[cmake]   
C:/Qt/Tools/CMake_64/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 
(find_package)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 
(find_dependency)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6QTuioTouchPluginDependencies.cmake:15
 (_qt_internal_find_qt_dependencies)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6QTuioTouchPluginConfig.cmake:48 
(include)
[cmake]   
C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:518 
(include)
[cmake]   C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:5 
(__qt_internal_include_plugin_packages)
[cmake]   C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:125 
(include)
[cmake]   C:/Qt/6.6.3/msvc2019_static/lib/cmake/Qt6/Qt6Config.cmake:164 
(find_package)
[cmake]   CMakeLists.txt:13 (find_package)
[cmake] 
[cmake] 
[cmake] -- Generating done (0.1s)
[cmake] CMake Generate step failed.  Build files cannot be regenerated 
correctly.
[cmake] 
[cmake] CMake process exited with exit code 1.
[cmake] 
[cmake] Elapsed time: 00:02.

> On 26 Jun 2024, at 17:06, Thiago Macieira <thiago.macie...@intel.com> wrote:
> 
> On Wednesday 26 June 2024 08:17:51 GMT-7 Alexandru Croitor via Interest wrote:
>> Regarding compiling a project from the examples, the build system does not
>> 'remember' which openssl was used when building qt, so you have to set the
>> OPENSSL_ROOT_DIR variable also when configuring the project, either via IDE
>> kit settings, or on the command line.
> 
> What example needs to know that in the first place? Examples should use the 
> QtNetwork API and that completely hides which TLS backend is in use.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Principal Engineer - Intel DCAI Platform & System Engineering
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to