Your CMakeCache.txt suggests that openssl was indeed not found.

I see you added --debug-find to the additional cmake options in your 
screenshot. Why have you not shared the output?
It should have added a lot of output for the various find_package / find_path / 
find_library calls.

Please modify Additional CMake options to contain: --debug-find 
--trace-redirect=trace.txt --trace-expand

Then click Reconfigure with Initial parameters, share the full cmake stdout 
output, as well as the contents of the trace.txt file in the build directory.

Also, one thing I would try is to specify the OPENSSL_ROOT_DIR path with 
forward slashes. So c:/Qt-Utils/openssl

And please share the directory layout of the c:/Qt-Utils/openssl directory.

> On 27. Jun 2024, at 10:26, Nuno Santos <nuno.san...@imaginando.pt> wrote:
> 
> Alexandru, 
> 
> Thank you very much for your replies. 
> 
>> The attached files are not CMakeCache.txt. I said to check the value of 
>> OpenSSL_DIR in CMakeCache.txt.
>> CMakeError.log and CMakeOutput.log are most of the time useless for 
>> troubleshooting.
>> They have been superseded by CMakeFiles/CMakeConfigureLog.yaml.
>> But in this case i don't think looking into that file would help.
> 
> Attached you will find CMakeCache.txt. As you can see everything is being 
> specified.
> 
>   
> In the mean time I’m using a kit compiled in another machine while I don’t 
> fix the build problem.
> 
>> 
>> The OPENSSL_ROOT_DIR var needs to be set as a cache variable. Either on the 
>> command line as a -D option e.g. -DOPENSSL_ROOT_DIR=<path>, or via cmake-gui 
>> app, or in Qt Creator as a project cache variable.
>> 
> 
> That was the first thing I have tried, setting OPENSSL_ROOT_DIR to 
> c:\Qt-Utils\openssl, and as you can see it is defined but it still fails.
> 
> <screenshot.jpg> 
> What am I missing?
> 
> Thank you very much!
> 
> With my best regards,
> 
> Nuno
> <CMakeCache.txt><scene-graph-cmake-output.txt>

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

Reply via email to