Hi,
thanks a lot, it's working perfectly now :)
Le 30/08/2023 à 15:40, Alexandru Croitor a écrit :
Hi,
Instead of specifying the Qt6_DIR env var, pass
-DCMAKE_PREFIX_PATH=C:\Qt\6.6.0\msvc2019_64 to CMake.
Specifying the Qt6_DIR cache var is not sufficient to find Qt at the moment
(there is an open bug about it).
Specifying the Qt6_DIR env var not being sufficient is likely the same issue.
On 30. Aug 2023, at 15:31, Corentin Bacqué-cazenave via
Interest<interest@qt-project.org> wrote:
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 Sponsor NVDA, Référent commission Cécité &
Co - Fédé 100% Handinamique
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
--
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/>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest