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?
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
Anyone could tell me how to build and make the bundle for MacOS?