From 5ed6921bcfde57251a9e060dfc053ac566754dc1 Mon Sep 17 00:00:00 2001
From: Marco Matthies <71844+marcom@users.noreply.github.com>
Date: Tue, 25 Jun 2024 17:29:10 +0200
Subject: [PATCH] Add README.md for compiling C++ GUI

---
 c++/README.md | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 c++/README.md

diff --git a/c++/README.md b/c++/README.md
new file mode 100644
index 0000000..786f962
--- /dev/null
+++ b/c++/README.md
@@ -0,0 +1,32 @@
+# README for C++ GUI
+
+## Compilation
+
+```sh
+mkdir build
+cd build
+cmake ..
+make
+./PersefoneGUI
+```
+
+You will need the necessary Qt packages installed.  On Ubuntu 22.04,
+these are (Note: this information is somewhat approximate, some
+packages could be missing, and some might not be necessary, sorry):
+
+### Prerequisites for building from source
+
+```sh
+sudo apt install build-essential cmake
+sudo apt install qt6-base-dev qt6-declarative-dev
+sudo apt install \
+    qml6-module-qtqml-workerscript \
+    qml6-module-qtquick \
+    qml6-module-qtquick-controls \
+    qml6-module-qtquick-dialogs \
+    qml6-module-qtquick-layouts \
+    qml6-module-qtquick-templates \
+    qml6-module-qtquick-tooling \
+    qml6-module-qtquick-window \
+    qt6-image-formats-plugins
+```
-- 
GitLab