-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Build success, but packed failed using QT deploy tool both win & mac #2228
Comments
The main supported way of installing GPT4All from source is to build an offline installer by adding |
Sorry, I am new to CMake, where should I add this ? |
Here is my steps: |
Not sure because I don't have a Mac, but with You would copy that to the other Macs and run it to start the installation. To me, it doesn't look like that is what you did there in your steps. The installer should have bundled the Qt dependencies. |
If the first build step (whose command line is cut off in your screenshot) is actually compiling, then that should be fine, yes. Can you open the 'Compile Output' View at the bottom and see if you can figure out what exactly has failed? |
Good. But I'm not sure about that error. QtIFW is the Installer FrameWork and should be part of the Qt installation, if you've checked the right boxes when installing. Which I'm assuming you did because you were able to run deploy commands, but I'm not entirely sure whether those are part of QtIFW or not. Maybe make sure it's part of your installation? |
This is the first time that I am using Qt. Just followed the instruction here to installed the Qt. |
Ah right, one thing I've just noticed is that if you check build_and_run.md, the Qt Installer Framework isn't checked in that screenshot. See 'Developer and Designer Tools'. Maybe that's it. Other than that I can't say more because I don't have a Mac anywhere. |
Bug Report
Clone the code and follow the instruction open GPT4All-chat in QT, built and run successfully.
After running windeployqt in Windows 11 or macdeployqt in MacOS(intel chip) and run chat.exe directly
it reports FileNotFound libc++.dll and libunwin.dll in Windows11
if run in QT, the application output shows several warnings and exit -1.
[Warning] (Wed Apr 17 16:18:21 2024): QQmlApplicationEngine failed to load component
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:6:1: module "Qt5Compat.GraphicalEffects" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:5:1: module "QtQuick.Layouts" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:4:1: module "QtQuick.Controls.Basic" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:3:1: module "QtQuick.Controls" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml: module "QtQml.WorkerScript" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:1:1: module "QtCore" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:6:1: module "Qt5Compat.GraphicalEffects" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:5:1: module "QtQuick.Layouts" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:4:1: module "QtQuick.Controls.Basic" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:3:1: module "QtQuick.Controls" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml: module "QtQml.WorkerScript" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:1:1: module "QtCore" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:6:1: module "Qt5Compat.GraphicalEffects" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:5:1: module "QtQuick.Layouts" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:4:1: module "QtQuick.Controls.Basic" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:3:1: module "QtQuick.Controls" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml: module "QtQml.WorkerScript" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:1:1: module "QtCore" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:6:1: module "Qt5Compat.GraphicalEffects" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:5:1: module "QtQuick.Layouts" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:4:1: module "QtQuick.Controls.Basic" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:3:1: module "QtQuick.Controls" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml: module "QtQml.WorkerScript" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:1:1: module "QtCore" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:6:1: module "Qt5Compat.GraphicalEffects" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:5:1: module "QtQuick.Layouts" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:4:1: module "QtQuick.Controls.Basic" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:3:1: module "QtQuick.Controls" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml: module "QtQml.WorkerScript" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:1:1: module "QtCore" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:6:1: module "Qt5Compat.GraphicalEffects" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:5:1: module "QtQuick.Layouts" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:4:1: module "QtQuick.Controls.Basic" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:3:1: module "QtQuick.Controls" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml: module "QtQml.WorkerScript" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): qrc:/gpt4all/main.qml:1:1: module "QtCore" is not installed
[Warning] (Wed Apr 17 16:18:21 2024): QIODevice::read (QNetworkReplyHttpImpl): device not open
[Warning] (Wed Apr 17 16:18:21 2024): ERROR: Couldn't parse: "" "illegal value"
Steps to Reproduce
Your Environment
pip show gpt4all
): V 2.7.4The text was updated successfully, but these errors were encountered: