Conan package should not depend on all Qt libraries
When using, for example, `MdtConsoleApplication`, the compiled executable depends on lots of unused shared libraries. As example, `mdtdeployutils` `NEEDED` section contains `libQt5Widgets.so.5`, `libQt5XcbQpa.so.5` and a lot more. This is the case when compiling with clang. gcc seems to optimize that. The generated `Mdt0ConsoleApplication-Target-debug.cmake` contains: ```cmake set_property(TARGET MdtConsoleApplication_DEPS_TARGET PROPERTY INTERFACE_LINK_LIBRARIES $<$<CONFIG:Debug>:${MdtConsoleApplication_FRAMEWORKS_FOUND_DEBUG}> $<$<CONFIG:Debug>:${MdtConsoleApplication_SYSTEM_LIBS_DEBUG}> $<$<CONFIG:Debug>:MdtCMakeConfig::MdtCMakeConfig;qt::qt> APPEND) ``` I think that the `qt::qt` is the problem. In the `package_info()`, we should try: ```python self.cpp_info.requires = ["qt::qtCore"] ``` The example comes from https://github.com/conan-io/conan-center-index/blob/master/recipes/qcustomplot/all/conanfile.py The documentation: https://docs.conan.io/en/latest/reference/conanfile/attributes.html#cpp-info
issue