{"action":"closed","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/2862","repository_url":"https://api.github.com/repos/LMMS/lmms","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/2862/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/2862/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/2862/events","html_url":"https://github.com/LMMS/lmms/issues/2862","id":161097774,"number":2862,"title":"LMMS won't launch on OS X","user":{"login":"tresf","id":6345473,"avatar_url":"https://avatars.githubusercontent.com/u/6345473?v=3","gravatar_id":"","url":"https://api.github.com/users/tresf","html_url":"https://github.com/tresf","followers_url":"https://api.github.com/users/tresf/followers","following_url":"https://api.github.com/users/tresf/following{/other_user}","gists_url":"https://api.github.com/users/tresf/gists{/gist_id}","starred_url":"https://api.github.com/users/tresf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tresf/subscriptions","organizations_url":"https://api.github.com/users/tresf/orgs","repos_url":"https://api.github.com/users/tresf/repos","events_url":"https://api.github.com/users/tresf/events{/privacy}","received_events_url":"https://api.github.com/users/tresf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LMMS/lmms/labels/not%20our%20bug","name":"not our bug","color":"fad8c7"}],"state":"closed","locked":false,"assignee":{"login":"tresf","id":6345473,"avatar_url":"https://avatars.githubusercontent.com/u/6345473?v=3","gravatar_id":"","url":"https://api.github.com/users/tresf","html_url":"https://github.com/tresf","followers_url":"https://api.github.com/users/tresf/followers","following_url":"https://api.github.com/users/tresf/following{/other_user}","gists_url":"https://api.github.com/users/tresf/gists{/gist_id}","starred_url":"https://api.github.com/users/tresf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tresf/subscriptions","organizations_url":"https://api.github.com/users/tresf/orgs","repos_url":"https://api.github.com/users/tresf/repos","events_url":"https://api.github.com/users/tresf/events{/privacy}","received_events_url":"https://api.github.com/users/tresf/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-06-19T23:30:48Z","updated_at":"2016-06-22T02:03:08Z","closed_at":"2016-06-22T02:03:08Z","body":"Latest master branch with #2861 applied, I can get a reliable `.dmg` file, however there seems to be something wrong with the `QtWidgets` library within the bundle.\r\n\r\nThe error is:\r\n\r\n```\r\n  Library not loaded: /usr/local/Cellar/qt5/5.6.1/lib/QtGui.framework/Versions/5/QtGui\r\n  Referenced from: /Applications/LMMS.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets\r\n```\r\n\r\nWhat appears to be happening is the `macdeployqt` command isn't changing Qt's own references from static libraries to relative paths as can be observed by the Homebrew path prefix in the error log.\r\n\r\nAt a glance it looks very similar to these bugs:\r\n\r\nhttps://github.com/Homebrew/legacy-homebrew/issues/42191\r\nhttps://bugreports.qt.io/browse/QTBUG-47868\r\nhttp://stackoverflow.com/a/18499762/3196753\r\n\r\n**Edit:**\r\nHere's a newer one affecting Qt 5.6:\r\nhttps://bugreports.qt.io/browse/QTBUG-53533\r\n\r\nWhether this is upstream or not, this completely breaks loading on Apple, so we may have to employ a workaround.\r\n\r\nOne possible workaround is to hard-code some Qt 5.6-specific `install_name_tool` commands into the end of our [apple bundler script](https://github.com/LMMS/lmms/blob/master/cmake/apple/install_apple.sh.in#L97), which I consider a last-resort.\r\n\r\nThoughts welcome."}}
{"actor":{"display_login":"tresf"}}