An open API service indexing awesome lists of open source software.

https://github.com/notepadqq/notepadqq

A simple, general-purpose editor for Linux
https://github.com/notepadqq/notepadqq

development editor linux notepadqq text-editor

Last synced: 9 days ago
JSON representation

A simple, general-purpose editor for Linux

Awesome Lists containing this project

README

          

# Notepadqq Notepadqq [![Build Status](https://github.com/notepadqq/notepadqq/actions/workflows/build-test.yml/badge.svg)](https://github.com/notepadqq/notepadqq/actions/workflows/build-test.yml) [![notepadqq](https://snapcraft.io/notepadqq/badge.svg)](https://snapcraft.io/notepadqq)

> [!WARNING]
> This project is not actively maintained anymore. New maintainers are welcome.
>
> It has been reported that with the most recent OS/Qt versions, the program can crash unexpectedly. Use this at your own risk.
>
> -- Daniele

### Links

* [What is it?](#what-is-it)
* [Build it yourself](#build-it-yourself)
* [Download it](#distribution-packages)

#### What is it?

Notepadqq is a text editor designed by developers, for developers.

![screenshot_20180302_163505](https://notepadqq.com/s/images/snapshot1.png)

Please visit our [Wiki](https://github.com/notepadqq/notepadqq/wiki) for more screenshots and details.

Build it yourself
-----

| Build dependencies | Dependencies |
|-----------------------|-------------------|
| Qt 6.4 or higher | Qt 6.4 or higher |
| qt6-webengine5-dev | qt6-webengine5 |
| qt6-websockets-dev | qt6-websockets |
| qt6-svg-dev | qt6-svg |
| qt6-tools-dev-tools | coreutils |
| libuchardet-dev | libuchardet |
| pkg-config | |

#### Get the source

$ git clone --recursive https://github.com/notepadqq/notepadqq.git
$ cd notepadqq

#### Build

notepadqq$ cmake --preset release
notepadqq$ cmake --build --preset release

To build with debug symbols, use the `dev` preset instead:

notepadqq$ cmake --preset dev
notepadqq$ cmake --build --preset dev

If you encounter errors make sure to have the necessary libraries installed. For Ubuntu you can do that using apt-get:

sudo apt-get install qt6-tools-dev qt6-tools-dev-tools qt6-webengine-dev qt6-websockets-dev libqt6svg6 libqt6svg6-dev libuchardet-dev pkg-config

For CentOS:

sudo dnf install -y qt6-qtbase-devel qt6-qttools-devel qt6-qtwebengine-devel qt6-qtwebsockets-devel qt6-qtsvg-devel qt6-qtwebchannel-devel uchardet pkgconfig

Building for **macOS**? Check [here](https://github.com/notepadqq/notepadqq/wiki/Compiling-Notepadqq-on-macOS).

#### Run tests

notepadqq$ ctest --preset release

#### Install

You can run notepadqq from its build output folder. If however you want to install it, first build it
by following the above steps, then run:

notepadqq$ sudo cmake --install build/release

#### Qt

If the newest version of Qt isn't available on your distribution, you can use the [online installer](http://www.qt.io/download-open-source) to get the latest libraries and install them into your home directory (`$HOME/Qt`). Notepadqq will automatically use them.

Distribution Packages
---------------------

#### Ubuntu, Debian, and others:

sudo apt install notepadqq

#### Snap

To install the latest stable version:

sudo snap install notepadqq

You don't have the `snap` command? Follow the instructions at https://docs.snapcraft.io/core/install and then install Notepadqq as shown above.

You can follow the unstable development releases from the "edge" channel.

#### Arch Linux (community-maintained)
Notepadqq is available from Arch's [community repositories](https://www.archlinux.org/packages/community/x86_64/notepadqq/). To install using pacman:

sudo pacman -S notepadqq

Alternatively it can be found in the AUR:

* Development (git version): [notepadqq-git](https://aur.archlinux.org/packages/notepadqq-git/)

#### OpenSUSE (community-maintained)
Notepadqq is avilable in OpenSUSE's main repository:

sudo zypper in notepadqq

#### Solus (community-maintained)
Notepadqq is available in the `shannon` (stable) repository:

sudo eopkg it notepadqq

#### Others
Use a package for a compatible distribution, or build from [source](https://github.com/notepadqq/notepadqq.git).
If you want to submit a package: https://github.com/notepadqq/notepadqq-packaging