Why does my application require libQt6OpenGLWidgets.so
Unsolved
General and Desktop
-
Hi,
What are the modules you are using ?
-
I was specifying:
find_package(Qt6 6.8 REQUIRED COMPONENTS Core Gui Widgets Network Charts LinguistTools)
and had to change that when ldd told me the executable needed both DBus and OpenGLWidgets even though I include no headers for either in my code and didn't explicitly link with then either:
target_link_libraries(DeepSkyStacker PRIVATE Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Network DeepSkyStackerKernel ZClass )
I suppose it is possible that one of my other dependencies pulled in the OpenGLWidgets stuff, but I'd be very surprised.
target_link_libraries(${PROJECT_NAME} PRIVATE Boost::container) target_link_libraries(${PROJECT_NAME} PRIVATE Exiv2::exiv2lib) target_link_libraries(${PROJECT_NAME} PRIVATE expat::expat) target_link_libraries(${PROJECT_NAME} PRIVATE libraw::raw_r) target_link_libraries(${PROJECT_NAME} PRIVATE TIFF::TIFF) target_link_libraries(${PROJECT_NAME} PRIVATE ZLIB::ZLIB)
-
It might be the charts module that triggers this dependencies.
What does DeepSkyStackerKernel use ?
-
Silly question but did you do a full rebuild since you changed the CMakefile ?
AFAIK, it should not be need but sometimes...