mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
![]() When using cmake to configure the C++ build and Qt is found, and then build with `SIXTYFPS_NO_QT=0 cmake --build ..`, the C++ library is built without Qt support but qt_viewer is built. Linkage then fails when it tries to access the API in libsixtyfps_cpp.so that provides the QWidget, as that symbol is not present. So with newer CMake we use find_package to provide positive information to the cargo build about where Qt is, and consequently this patch provides negative information to disable Qt support if CMake could not find Qt -- or it was deliberately disabled for example using `-DCMAKE_DISABLE_FIND_PACKAGE_Qt5=1`. cc #232 |
||
---|---|---|
.. | ||
sixtyfps-cpp | ||
sixtyfps-node | ||
sixtyfps-rs | ||
sixtyfps-wasm-interpreter |