aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md20
1 files changed, 8 insertions, 12 deletions
diff --git a/README.md b/README.md
index 13f9f78..d29354d 100644
--- a/README.md
+++ b/README.md
@@ -11,23 +11,19 @@ ActorViewer is a tool that allows one to explore their Fediverse data exports. I
* Go to a random status!
* Copy the status text
-Furthermore, support for viewing replies to your posts will be added. I also want the app to have translation support before making a release.
+Furthermore, support for viewing replies to your posts will be added. I also want the app to have translation support (and be translated) before making a release.
## Building
-To build, please have CMake and the Qt library installed. You will also need [mastodonpp](https://schlomp.space/tastytea/mastodonpp/) installed in your environment and findable by CMake. Then use:
+To build, please have CMake and the Qt library installed. You will also need [mastodonpp](https://schlomp.space/tastytea/mastodonpp/), which can be retrieved by initializing git submodules.
-```
-git clone https://git.twilightsparkle.space/ActorViewer && cd ActorViewer
-cmake -B build -DCMAKE_BUILD_TYPE=Debug # Initially
-cmake --build build -j$(nproc --all) --target all # All; after modifying ui files
-cmake --build build -j$(nproc --all) --target clean # To clean
-```
-
-When running, you might get an error about a shared object due to mastodonpp not being in the linker's path. If you do, make sure to set the `LD_PRELOAD` environment variable in the following manner:
+Simply said, after install CMake and Qt from your package manager, do the following to build the project:
```
-LD_PRELOAD=~/Devel/mastodonpp/build/src/libmastodonpp.so.0 ./build/ActorViewer
+git clone --recurse-submodules https://git.twilightsparkle.space/ActorViewer && cd ActorViewer
+cmake -B build -DCMAKE_BUILD_TYPE=Debug # Initially and if CMakeLists.txt changes
+cmake --build build -j$(nproc --all) --target all # To build
+cmake --build build -j$(nproc --all) --target clean # To clean
```
-In the future, I plan to address both problems by making a Flatpak and by extending my CMakeLists.txt to also build mastodonpp and any other required dependencies.
+I plan to make a Flatpak in the near future so that manually building will not be necessary.