slint/docs/tutorial/cpp/src/main_initial.cpp
2022-02-02 17:19:31 +01:00

14 lines
319 B
C++

// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
// ANCHOR: main
// main.cpp
#include "memory.h" // generated header from memory.slint
int main()
{
auto main_window = MainWindow::create();
main_window->run();
}
// ANCHOR_END: main