# Creazione di QOwnNotes

## Compilare da GitHub

Puoi anche creare QOwnNotes da solo dal codice sorgente.

Checkout the code of the last release directly from the git repository:

```bash
git clone https://github.com/pbek/QOwnNotes.git -b release
cd QOwnNotes
git submodule update --init
```

Per il debugging, la strada più facile è usando QtCreator. When downloading [Qt Creator](https://www.qt.io/download-qt-installer-oss), you will also need the package `qtwebsockets` to build QOwnNotes with Qt6. If you build under Windows, you want to stick to _MinGw 64-bit_. Su linux, molto probabilmente, hai il pacchetto per QtCreator nella tua repository.

Successivamente apri il file del progetto `src/QOwnNotes.pro` e clicca su **Build**/**Build Project QOwnNotes**.

In alternativa, se sai come funziona, puoi fare il build di QOwnNotes direttamente dal tuo terminale:

```bash
cd src

# build binary translation files if you want another language than English
lrelease QOwnNotes.pro

# prepare build process and build the application
qmake
make
```

Sentiti libero di contribuire con il codice sorgente a questo progetto, dare suggerimenti o segnalare problemi nella [pagina dei problemi di QOwnNotes](https://github.com/pbek/QOwnNotes/issues).

Visita [QOwnNotes su GitHub](https://github.com/pbek/QOwnNotes).

::: tip
If you want to contribute source code to the project please make your pull requests to the `main` branch. But please make sure to read the [code contribution guidelines](../contributing/code-contributions.md) first.
:::

## Archivio sorgente

Troverai gli archivi sorgente di QOwnNotes su [QOwnNotes source archive](https://github.com/pbek/QOwnNotes/releases).

Gli archivi sorgente saranno accessibili in questo modo:

`https://github.com/pbek/QOwnNotes/releases/download/v23.7.0/qownnotes-23.7.0.tar.xz`

## Building with nix

If you have the [Nix package manager](https://nixos.org/download/) and [Devenv](https://devenv.sh/getting-started/) installed you can just git-clone the repository, like explained above and build with:

```bash
# Open a shell with all the tools you need
devenv shell

# Build the application
just nix-build

# Run the built application
just nix-run
```
