summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-15 20:46:30 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-15 21:51:19 +0100
commitb3d04b3a3ca0ac7396d8d8c192fae565012e1f9e (patch)
treea9af8f8d9817205f2bf0e28fe879ff496a11af4c
parent7562cf5157cde319b0266737516d4f782aa00b4f (diff)
downloadserenity-b3d04b3a3ca0ac7396d8d8c192fae565012e1f9e.zip
Documentation: Make serenity.includes more easily copyable
-rw-r--r--Documentation/UsingQtCreator.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/Documentation/UsingQtCreator.md b/Documentation/UsingQtCreator.md
index ec97a6b4f1..16c05c50e9 100644
--- a/Documentation/UsingQtCreator.md
+++ b/Documentation/UsingQtCreator.md
@@ -15,7 +15,22 @@ First, make sure you have a working toolchain and can build and run SerenityOS.
* Edit the `serenity.config` file (In Qt Creator, hit ^K or CMD+K on a Mac to open the search dialog, type the name of the file and hit return to open it)
* Add the following `#define`s to the file: `DEBUG`, `SANITIZE_PTRS`, and `KERNEL`. Depending on what you are working on, you need to have that last define commented out. If you're planning on working in the userland, comment out `#define KERNEL`. If you're working on the Kernel, then uncomment `#define KERNEL`.
* Edit the `serenity.cxxflags` file to say `-std=c++2a -m32`
-* Edit the `serenity.includes` file, add the following lines: `.`, `..`, `../..`, `Userland/Services/`, `Userland/Libraries/`, `Userland/Libraries/LibC/`, `Userland/Libraries/LibPthread/`, `Userland/Libraries/LibM/`, `Toolchain/Local/i686/i686-pc-serenity/include/c++/10.2.0`, `Build/Userland/Services/`, `Build/Userland/Libraries/`, `AK/`
+* Edit the `serenity.includes` file, add the following lines:
+
+```
+.
+..
+../..
+Userland/Services/
+Userland/Libraries/
+Userland/Libraries/LibC/
+Userland/Libraries/LibPthread/
+Userland/Libraries/LibM/
+Toolchain/Local/i686/i686-pc-serenity/include/c++/10.2.0
+Build/Userland/Services/
+Build/Userland/Libraries/
+AK/
+```
Qt Creator should be set up correctly now, go ahead and explore the project and try making changes. Have fun! :^)