Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68186

Unable to install unbundled on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.10.0
    • None
    • macOS/nixpkgs
    • macOS

      Hi,

      I am a maintainer of Nixpkgs & trying to get Qt packaged better. Because
      Nixpkgs runs on both macOS & Linux, we want to have some consistency
      between the two. AFAICT Qt will only install in "framework" style on
      macOS with no obvious way to disable this. This means that some basic
      things like headers, libs, & pkgconfig files are missing (instead in the
      .framework directory). If every app knew how to handle frameworks
      correctly, this would be fine, but currently many apps either can't find
      our frameworks or don't handle them at all. In fact, even some official
      Qt projects like PySide don't find our frameworks. See these two logs,
      one from a Linux build of PySide & another from the macOS build of
      PySide.

      Linux: https://hydra.nixos.org/build/73220919/nixlog/1
      macOS: https://hydra.nixos.org/build/73059550/nixlog/1

      I'm not sure if this is something that we are doing wrong in our
      environment, or PySide not configured correctly to work on macOS. At
      least it would be nicer for us if we could have both bundled & unbundled
      installed so that errors like the above wouldn't happen.

      Would it be possible to make this an option? Maybe something already
      exists but I have not found it in the documentation. I've attached the
      patch (originally from Homebrew) that we are currently using to get
      PkgConfig & headers to install, but it is very hacky & specific to Qt
      5.10.

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            mjbauer Matthew Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes