• KillTheMule@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    Couldn’t find any info, so maybe someone here knows: Is QT statically linkable, in particular when used from Rust? That’s something that I really value in fltk.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Not really in practice. In older versions I have done it, but they really don’t want you to. The binaries are only distributed as shared libraries, so you at least need to build Qt from source. And also whenever I build recent Qt apps even with QtWidgets it has a load of plugin files and other nonsense that it needs.

      I’m sure it’s possible with enough work but it’s not simple like with fltk or egui or gpui.