Closed tp971 closed 3 weeks ago
I can reproduce this on the latest stable Linux toolchain (1.70
at the time of writing). Weirdly enough, the build works as expected on the latest stable MSVC toolchain - normally I'd expect Windows to be more broken than Linux for build issues. Maybe Slint uses a different dependency on MSVC that doesn't cause a conflict?
The reason why this doesn't happen on Windows is because fontconfig is not a dependency for Slint on Windows. I suspect that this might be caused due to slint enabling the dynamic opening of fontconfig and perhaps that's why the functions aren't there. Could you try enabling the source-fontconfig-dlopen
feature of font-kit?
With slint 1.1.0 release this should not be an issue anymore as the font logic dependency was removed.
@mrobinson @tp971 , this issue can be closed?
When trying to build a project that depends on this project and slint at the same time, compilation fails.
Cargo.toml:
Compilation errors: