[Interest] Issue with CMake and Qt6 on Windows

Corentin Bacqué-cazenave corentin at progaccess.net
Wed Aug 30 15:31:10 CEST 2023


Hi,

Itm trying to build a project which use Qt on Windows with CMake.

I defined an env-variable Qt6_DIR to C:\Qt\6.6.0\msvc2019_64

I have the following error:

"  Found package configuration file:

C:/Qt/6.6.0/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake

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

   Failed to find required Qt component "Widgets".

   Expected Config file at
"C:/Qt/6.6.0/msvc2019_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake"
   exists"

I'm using Qt6.6Beta3.

Does anyone has any idea on it?

Thanks

-- 

Corentin : expert certifié 2022 et 
<https://www.progaccess.net/Perso/Corentin/Signature.html>Sponsor 
<https://github.com/sponsors/nvaccess?sp=CoBC> NVDA, Référent commission 
Cécité & Co - Fédé 100% Handinamique <https://www.handinamique.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230830/bb7e7553/attachment.htm>


More information about the Interest mailing list