Skip to content

Latest commit

 

History

History
57 lines (30 loc) · 2 KB

build_and_run.md

File metadata and controls

57 lines (30 loc) · 2 KB

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