KDAB / cxx-qt

Safe interop between Rust and Qt
https://kdab.github.io/cxx-qt/book/
1.05k stars 75 forks source link

cxx-qt-build: set minimum macOS version #825

Closed Be-ing closed 8 months ago

Be-ing commented 9 months ago

to override cc's default which is too low for CXX-Qt. Setting the MACOSX_DEPLOYMENT_TARGET environment variable in CI is fine, but that doesn't solve the problem for downstream users.

relies on a pending PR for cc https://github.com/rust-lang/cc-rs/pull/938

ahayzen-kdab commented 9 months ago

Fun issue on Linux

   cargo:warning=Compiler version doesn't include clang or GCC: "/usr/bin/c++" "--version"
  cargo:warning=as: unrecognized option '-mbig-obj'

   exit status: 1
Be-ing commented 9 months ago

Yeah I saw that... pretty puzzled why this change would make that show up.

Be-ing commented 8 months ago

Superseded by https://github.com/KDAB/cxx-qt/pull/848