Please provide CMake config files
With Qt6 itself having switched to CMake, more and more projects building on Qt also follow that.
In CMake for finding dependencies it is most convenient to have CMake config files provided by the library.
While QHexEdit provides pkgconfig files and one can use them in some way within CMake-based builds, it comes with some bit of struggle. So CMake config files instead would be most convenient.
Perhaps QHexEdit might switch itself from qmake to cmake soon? Then providing CMake config files might be most simple.
For me, it doesn't make sense to switch to CMake at the moment. I also have no experience with it. Integrating QHexEdit into a CMake project will probably not require much effort.
If really needed, please pull request.
Integrating QHexEdit into a CMake project will probably not require much effort.
Not much effort, yet of course native support would be better and less fragile :)
Solved for now in my case by (traditionally over-complicated polyfill Find*.cmake file) to yield the desired simple usage by
find_package(QHexEdit 0.9.0)
target_link_libraries(MyProject PRIVATE QHexEdit)
which can be found here, in case someone will come across for the same need and goes "so, how?": https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/829/diffs#b72ee1fd2106514443da685057fbc4a797bfffe4
Perhaps could also be added as copy to the qhexedit sources or docs, so people with such need can more easily find it and pass that hurdle in their cmake-based projects? License should make that fine to do, happy to share with the world.
If really needed, please pull request.
Mainly reported to make aware of some consumer needs :)