mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Fix C++ quickstart
The C++ code to copy & paste into main.cpp needs to have the #include <app-window.h> line.
This commit is contained in:
parent
754e675595
commit
4c3ca9ba17
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ The `CMakeLists.txt` uses the line `add_executable(my_application src/main.cpp)`
|
|||
Replace the content of `src/main.cpp` with the following:
|
||||
|
||||
:::{literalinclude} main_initial.cpp
|
||||
:lines: 9-13
|
||||
:lines: 7-13
|
||||
:::
|
||||
|
||||
Also in `CMakeLists.txt` the line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue