Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] How to make the bundle for MacOS? #2268

Closed
wowliuzj opened this issue Apr 26, 2024 · 1 comment
Closed

[macOS] How to make the bundle for MacOS? #2268

wowliuzj opened this issue Apr 26, 2024 · 1 comment
Labels
bug-unconfirmed chat gpt4all-chat issues

Comments

@wowliuzj
Copy link

Bug Report

try to build the bundle in MacOS,
I run this command
/Qt/6.8.0/macos/bin/macdeployqt /gpt4all/build-gpt4all-chat-Qt_6_8_0_for_macOS-Release/bin/gpt4all.app/Content/Macos/gpt4all -qmldir=/gpt4all/gpt4all-chat

After that I run the otool and checked all dylibs.
@rpath/QtQuick.framework/Versions/A/QtQuick (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtSvg.framework/Versions/A/QtSvg (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtHttpServer.framework/Versions/A/QtHttpServer (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtSql.framework/Versions/A/QtSql (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtPdf.framework/Versions/A/QtPdf (compatibility version 6.0.0, current version 6.5.0)
@rpath/libllmodel.0.dylib (compatibility version 0.0.0, current version 0.5.0)
@rpath/QtQmlModels.framework/Versions/A/QtQmlModels (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtQml.framework/Versions/A/QtQml (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtOpenGL.framework/Versions/A/QtOpenGL (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtWebSockets.framework/Versions/A/QtWebSockets (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtNetwork.framework/Versions/A/QtNetwork (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtGui.framework/Versions/A/QtGui (compatibility version 6.0.0, current version 6.5.0)
@rpath/QtCore.framework/Versions/A/QtCore (compatibility version 6.0.0, current version 6.5.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2483.0.0)
/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Metal.framework/Versions/A/Metal (compatibility version 1.0.0, current version 341.16.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.151.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.0.0)
These are all look fine.

But after I copy the bundle to other Mac, it always crash

Your Environment

  • GPT4All version: v2.7.3
  • Operating System: MacOS 12.7.4
  • Qt 6.8.0 for macOS

Anyone could tell me how to build and make the bundle for MacOS?

@wowliuzj wowliuzj added bug-unconfirmed chat gpt4all-chat issues labels Apr 26, 2024
@wowliuzj wowliuzj changed the title [MAcOS] How to make the bundle for MacOS? [macOS] How to make the bundle for MacOS? Apr 26, 2024
@cebtenzzre
Copy link
Member

Isn't this the same as #2228? Why are you still trying to use macdeployqt directly?

@cebtenzzre cebtenzzre added the need-info Further information from issue author is requested label Apr 28, 2024
@wowliuzj wowliuzj closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2024
@cebtenzzre cebtenzzre removed the need-info Further information from issue author is requested label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-unconfirmed chat gpt4all-chat issues
Projects
None yet
Development

No branches or pull requests

2 participants