1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: MIT
3
4// ANCHOR: main
5// src/main.cpp
6
7#include "appwindow.h" // generated header from memory.slint
8
9int main(int argc, char **argv)
10{
11 auto main_window = MainWindow::create();
12 main_window->run();
13}
14// ANCHOR_END: main
15

source code of slint/docs/tutorial/cpp/src/main_initial.cpp