aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index a56ea9e..4da6a09 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ not tested this on other operating systems.
17If you just want to try out this program you can run (if you have `make` installed) 17If you just want to try out this program you can run (if you have `make` installed)
18 18
19``` 19```
20$ make && ./run 20make && ./run
21``` 21```
22 22
23## Explanation 23## Explanation
@@ -42,8 +42,8 @@ The first two steps are straightforward: first you need to locate the
42folder. For example I have them in `/usr/lib64/qt/libexec`. Then run: 42folder. For example I have them in `/usr/lib64/qt/libexec`. Then run:
43 43
44``` 44```
45$ /usr/lib64/qt/libexec/moc mainwindow.h > moc_mainwindow.cpp 45/usr/lib64/qt/libexec/moc mainwindow.h > moc_mainwindow.cpp
46$ /usr/lib64/qt/libexex/uic mainwindow.ui > ui_mainwindow.h 46/usr/lib64/qt/libexex/uic mainwindow.ui > ui_mainwindow.h
47``` 47```
48 48
49These steps can be skipped if one prefers to write the `moc_` and `ui_` 49These steps can be skipped if one prefers to write the `moc_` and `ui_`
@@ -67,7 +67,7 @@ locate them and include their folder with `-L /path/to/the/folder`.
67So the command for step 3 becomes: 67So the command for step 3 becomes:
68 68
69``` 69```
70$ g++ main.cpp mainwindow.cpp moc_mainwindow.cpp \ 70g++ main.cpp mainwindow.cpp moc_mainwindow.cpp \
71 -I /usr/include/qt6 -I /usr/include/qt6/QtWidgets \ 71 -I /usr/include/qt6 -I /usr/include/qt6/QtWidgets \
72 -lQt6Widgets -lQt6Core -lQt6Gui 72 -lQt6Widgets -lQt6Core -lQt6Gui
73 -o run 73 -o run
@@ -76,5 +76,5 @@ $ g++ main.cpp mainwindow.cpp moc_mainwindow.cpp \
76And finally you can enjoy your new app: 76And finally you can enjoy your new app:
77 77
78``` 78```
79$ ./run 79./run
80``` 80```

Generated with cgit - Back to sebastiano.tronto.net