gpt4all/gpt4all-chat/build_and_run.md
Andriy Mulyar 94237e1940 Update build_and_run.md (#636)
Signed-off-by: Andriy Mulyar <andriy.mulyar@gmail.com>
2023-05-18 21:40:17 -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

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