How to distribute Qt based libraries?
-
wrote on 8 Jun 2025, 14:52 last edited by
I have own open source project that contains library and application. This project placed on Qt Marketplace.
The library has Qt based interface with signal/slots and contains Qt types. For simple compatibility library has ANSI C interface without Qt declarations in headers, but Qt core features are not accesible in this case.
My main question is there any platform for distribution Qt based libraries?
I tried the next platforms, but there are next problems with each:
- Conan. The last supported Qt version is 6.7.3. I see many tries to add newest version, but without success result. Also, I tried to update my conan package more than month without any progress for my pull requests. The conan-center-index looks like a slowly dieing project.
- Vcpkg. The last supported Qt version is 6.8.3. This is better then Conan, but I have problem with compilation with Qt in deps. I just tried the default compilation of Qt and got an error.
- Hombrew, Fedora and other system package managers. The situation with system packages looks good, but not a cross-platfom solution.
I read about own conan repository for Qt and it can be a solution, but this project is died.
In my case the distribution of Qt libray cause a nigthmare. May be exists easist way for Qt library distributions? Of course, the distributions of C++ libraries is hard by design. But, may be Qt project or somebody known about solution for distribution, that I don't know.
BTW, I have a plan add library as python package, but still don't understand, how to link my lib with Qt wheels. May be the answer on this question can be the common answer for topic.
Thank you for attention!
1/1