Skip to content

Fixes/36: cmake: On macOS fix Qt6 hard coded path - #1538

Merged
billmeek merged 1 commit into
MythTV:fixes/36from
jhoyt4:fixes/36
Nov 9, 2026
Merged

billmeek merged 1 commit into
MythTV:fixes/36from
jhoyt4:fixes/36

Conversation

@jhoyt4

@jhoyt4 jhoyt4 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Cherry-picked commit 971d8b6 onto fixes/36

Checklist

  Resolves a runtime issue where the bundled QtCore framework looks
  in the homebrew or macports install path instead of internally within
  the app bundle.

  - Add a `qt.conf` template to explicitly override Qt's hardcoded
    prefix path and confine plugin discovery to the application bundle.
  - Update darwin bundling CMake configuration to automatically
    package `qt.conf` into the app bundle's Contents/Resources/
    directory during deployment.
  - Add QT_PLUGIN_PATH and QT_AUTOLOAD_PLUGINS environmental variables
    to app bundle startup script. QT_AUTOLOAD_PLUGINS is set to 0 to
    prevent rogue host plugin discovery at runtime.
@jhoyt4 jhoyt4 mentioned this pull request Nov 7, 2026
@jhoyt4

jhoyt4 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

Fixes #1477

@billmeek
billmeek merged commit cdd0b6a into MythTV:fixes/36 Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants