gpt4all/build_and_run.md
2023-05-09 23:02:41 -04:00

2.0 KiB

Install Qt 6.x and setup/build gpt4all-chat from source

Depending upon your operating system, there are many ways that Qt is distributed. Here is the recommended method for getting the Qt dependency installed to setup and build gpt4all-chat from source.

Create a Qt account

image

Go to the Qt open source download page

image

Start the installer and sign in

image

After some screens about license, select custom

image

Select the following

image

NOTE: This is for macOS. For Linux it is similar, but you need ming64 for Windows, not the MSVC install

Open up QtCreator

image

Clone the git repo for gpt4all-chat

git clone --recurse-submodules https://github.com/nomic-ai/gpt4all-chat

Open the gpt4all-chat project in QtCreator

image

NOTE: File->Open File or Project and navigate to the gpt4all-chat repo and choose the CMakeLists.txt

Configure project

image

Build project

image

Run project

image