gpt4all/gpt4all-chat/build_and_run.md
AT be3c63ffcd
Update build_and_run.md (#834)
Signed-off-by: AT <manyoso@users.noreply.github.com>
2023-06-04 15:39:32 -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 MSVC for Windows, not the mingw install

Open up QtCreator

image

Clone the git repo for gpt4all-chat

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

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