"Could not find a package configuration file provided by "Qt5Widgets""
Unsolved
3rd Party Software
-
I have been trying to build a software that uses cmake, but I don't have the necessary packages from qt5. Both " Qt5WidgetsConfig.cmake
qt5widgets-config.cmake" are not in the qt folder, so I need to know how I can get them.
I saw that some people solved this problem by adding this in the "cmakelist.txt": set (CMAKE_PREFIX_PATH "C:\Qt\Qt5.0.1\5.0.1\msvc2010\")
But this folder doesn't even exist in my computer, so I don't know exaclty what to do. -
Hi and welcome to devnet,
You might want to consider moving to a more recent version of Qt because 5.0.1 is clearly outdated and had not cmake integrated yet.
Otherwise, you will need to either implement the Qt5 find module yourself. Or maybe KDE's ecm module might also help.