{"id":15717693,"url":"https://github.com/arl/macdeployqtfix","last_synced_at":"2025-04-07T12:08:45.590Z","repository":{"id":36502007,"uuid":"40807674","full_name":"arl/macdeployqtfix","owner":"arl","description":"To bundle a Qt application on Mac OSX, there is macdeployqt. To finish the job there is macdeployqtfix! :white_check_mark:","archived":false,"fork":false,"pushed_at":"2024-10-17T05:54:22.000Z","size":20,"stargazers_count":62,"open_issues_count":4,"forks_count":25,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-31T11:02:31.985Z","etag":null,"topics":["mac-osx","macdeployqt","qt","qt-libs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-16T09:29:34.000Z","updated_at":"2024-12-12T15:46:34.000Z","dependencies_parsed_at":"2024-10-24T17:07:03.274Z","dependency_job_id":null,"html_url":"https://github.com/arl/macdeployqtfix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arl%2Fmacdeployqtfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arl%2Fmacdeployqtfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arl%2Fmacdeployqtfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arl%2Fmacdeployqtfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arl","download_url":"https://codeload.github.com/arl/macdeployqtfix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648978,"owners_count":20972945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mac-osx","macdeployqt","qt","qt-libs"],"created_at":"2024-10-03T21:51:01.640Z","updated_at":"2025-04-07T12:08:45.567Z","avatar_url":"https://github.com/arl.png","language":"Python","readme":"# macdeployqtfix\nTo bundle a **Mac OSX** application dynamically linked with **Qt**, there is\n`macdeployqt`.  \nTo **finish the job** there is `macdeployqtfix`...\n\n### What does 'Finish the job' mean?\n\n - Find dependencies and [rpaths](https://en.wikipedia.org/wiki/Rpath) of :\n   - the main binary of the bundle (i.e your app)\n   - the dependencies of your app, and their dependencies, and their... (you got\n     it!)\n   - the plugins present in the bundle\n - Copy into the bundle the **missing** QT libs on which your app depends, that\n   should normally have been taken care of by *macdeployqt*\n - Fix incorrect permissions\n - Fix incorrect *rpaths*\n\n### Prerequisites\n\n`macdeployqtfix` relies on `otool` and `install_name_tool` being on the `PATH`\n\n### Usage\n\n:exclamation: Use `macdeployqt` first, then call `macdeployqtfix`\n\n\n```\n$ python macdeployqtfix.py -h\nusage: macdeployqtfix.py [-h] [-q] [-nl] [-v] exepath qtpath\n\nfinish the job started by macdeployqt!\n - find dependencies/rpaths  with otool\n - copy missed dependencies  with cp and mkdir\n - fix missed rpaths         with install_name_tool\n\n exit codes:\n - 0 : success\n - 1 : error\n \n\npositional arguments:\n  exepath             path to the binary depending on Qt\n  qtpath              path of Qt libraries used to build the Qt application\n\noptional arguments:\n  -h, --help          show this help message and exit\n  -q, --quiet         do not create log on standard output\n  -nl, --no-log-file  do not create log file './macdeployqtfix.log'\n  -v, --verbose       produce more log messages(debug log)\n\n```\n\n\n#### Example usage\n\nLet's say that:\n- your Qt application is named `APP`\n- the bundle is located at `/path/to/bundle/`\n- the path to those Qt libs used to build your app is `/usr/local/Cellar/qt5/5.5.0/`\n\n1. Run `macdeployqt` first, as they say in [the doc](http://doc.qt.io/qt-5/osx-deployment.html)\n2. Finish the job by calling:\n\n```\npython macdeployqtfix.py /path/to/bundle/Contents/MacOS/APP /usr/local/Cellar/qt5/5.5.0/\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farl%2Fmacdeployqtfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farl%2Fmacdeployqtfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farl%2Fmacdeployqtfix/lists"}