Qt6 not found even after installing it.
-
Hi
I am using Qt 6.5.0 and I am using Ubuntu.
I am making a project using Qt Quick and C++ but when I run CMake it throws me this error/media/raghav/Workspace/watch-core/CMakeLists.txt:8: error: Found package configuration file: /media/raghav/Apps/Qt/6.5.0/gcc_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 "Quick". Expected Config file at "/media/raghav/Apps/Qt/6.5.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists
I also added some paths to system env but still error presists.
Please help me out.
Thanks
-
@Raghav said in Qt6 not found even after installing it.:
g Qt 6.5.0 and I am using Ubuntu.
I am making a project using Qt Quick and C++ but when I run CMake it throws me this error
/media/raghav/Workspace/watch
It seems that 'Quick' module is missing. Run apt search qt6, find out whether qt quick 6 has been installed. -
Hi
I am using Qt 6.5.0 and I am using Ubuntu.
I am making a project using Qt Quick and C++ but when I run CMake it throws me this error/media/raghav/Workspace/watch-core/CMakeLists.txt:8: error: Found package configuration file: /media/raghav/Apps/Qt/6.5.0/gcc_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 "Quick". Expected Config file at "/media/raghav/Apps/Qt/6.5.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists
I also added some paths to system env but still error presists.
Please help me out.
Thanks
-
@Raghav
I agree even I use Qt with C++ as well as Python for most of my projects but after reinstalling Ubuntu due to some reason I lost my previous configurations.