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
This commit is contained in:
Michał Cieślak 2023-03-01 13:17:06 +01:00 committed by Michał
parent bf9b709cc8
commit 9772145ce5
2 changed files with 5 additions and 2 deletions

View File

@ -59,6 +59,7 @@ add_executable(
${CORE_JS_FILES} ${CORE_JS_FILES}
${STORYBOOK_QML_FILES} ${STORYBOOK_QML_FILES}
figma.json figma.json
README.md
) )
target_compile_definitions(${PROJECT_NAME} target_compile_definitions(${PROJECT_NAME}

View File

@ -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 # Building Storybook with Webassembly and Qt 5.14
## Configuring the environment ## Configuring the environment
### Install Emscripten v1.38.27 ### Install Emscripten v1.38.27