slint/api
Simon Hausmann 5f6ed2488e Avoid link error when cargo found Qt but CMake didn't
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
2021-05-20 20:33:07 +02:00
..
sixtyfps-cpp Avoid link error when cargo found Qt but CMake didn't 2021-05-20 20:33:07 +02:00
sixtyfps-node Fix repeater in box layout 2021-05-11 14:59:57 +02:00
sixtyfps-rs Remove the solve_layout from the component vtable 2021-05-11 14:59:57 +02:00
sixtyfps-wasm-interpreter Add support for showing warning diagnostics in the online editor 2021-04-30 15:43:05 +02:00