From 9772145ce53eadfda1f46465829cb34badc4c6d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Wed, 1 Mar 2023 13:17:06 +0100 Subject: [PATCH] chore(Storybook): Update Readme to point CMakeLists.txt as the main way to build instead of WebAssembly So far README.md had only description for WASM builds what was misleading, suggesting that's the only proper way of building Storybook. Closes: #9679 --- storybook/CMakeLists.txt | 1 + storybook/README.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/storybook/CMakeLists.txt b/storybook/CMakeLists.txt index 81f660de7..bddcf7424 100644 --- a/storybook/CMakeLists.txt +++ b/storybook/CMakeLists.txt @@ -59,6 +59,7 @@ add_executable( ${CORE_JS_FILES} ${STORYBOOK_QML_FILES} figma.json + README.md ) target_compile_definitions(${PROJECT_NAME} diff --git a/storybook/README.md b/storybook/README.md index 5caec1712..6db04fda0 100644 --- a/storybook/README.md +++ b/storybook/README.md @@ -1,7 +1,9 @@ +# Building Storybook + +For regular usage of **Storybook** it's enough to open `status-desktop/storybook/CMakeLists.txt` in QtCreator. Please **`do not use StoryBook.pro`** which is intended for WebAssembly builds. Please make sure that selected run target is `Storybook`. + # Building Storybook with Webassembly and Qt 5.14 - - ## Configuring the environment ### Install Emscripten v1.38.27