How do I make my shared library backward-compatible with Qt5Core?
Unsolved
General and Desktop
-
I'm building a shared library that is linking with libQt5Core.so v5.12, but when I try to use this shared library in a program that its own libQt5Core.so v5.6 I get an error that it can't find Qt_5.12. According to the strings result of the qt5core lib, it has all versions way back to 5.0 listed, so what do I have to do in my CMake to ensure that it is cross compatible?
By the way I am not using a find_package functions in my CMake, I'm just pointing to the location where libQt5Core.so is in target_link_libraries and linking it that way.
-
Compile and link your library with Qt 5.6.