(#220) Write, build and load a business logic module for Logos#227
Conversation
This comment was marked as low quality.
This comment was marked as low quality.
|
Apologies for the comment above, probably due from me moving away from the |
|
FYI logos-co/logos-tutorial#39 Also, note a working example that follows the docs as closely as possible: fryorcraken/logos-module-tictactoe#5 |
|
Better qml example: https://github.com/fryorcraken/logos-tictactoe-qml |
This comment was marked as resolved.
This comment was marked as resolved.
| 1. Build the development version of `logos-basecamp`. | ||
|
|
||
| ```bash | ||
| nix build 'github:logos-co/logos-basecamp/tutorial-v1#app' --out-link ./logos-basecamp |
There was a problem hiding this comment.
shouldn't it use the latest release of logos-basecamp?
There was a problem hiding this comment.
it should. unless this doc is linked to tutorial-V1
There was a problem hiding this comment.
@fryorcraken @Khushboo-dev-cpp, the original tutorial uses the tutorial-v1 tag. Should I change it?
There was a problem hiding this comment.
Yes, let's make the doc work for tutorial-v1 as per the original tutorial, and tutorial-v1 tag on the logos-tutorial repo
|
|
||
| > [!NOTE] | ||
| > | ||
| > For other module types, check out [Wrap a C Library as a Logos core module](./wrap-a-c-library-as-a-logos-core-module.md), [Build a QML UI for your logos module](./build-a-qml-ui-for-your-logos-module.md) and [Build a Logos C++ UI module](./build-a-logos-cpp-ui-module.md). |
There was a problem hiding this comment.
wrong link
| > For other module types, check out [Wrap a C Library as a Logos core module](./wrap-a-c-library-as-a-logos-core-module.md), [Build a QML UI for your logos module](./build-a-qml-ui-for-your-logos-module.md) and [Build a Logos C++ UI module](./build-a-logos-cpp-ui-module.md). | |
| > For other module types, check out [Wrap a C Library as a Logos core module](./wrap-a-c-library-as-a-logos-module.md), [Build a QML UI for your logos module](./build-a-qml-ui-for-your-logos-module.md) and [Build a Logos C++ UI module](./build-a-logos-cpp-ui-module.md). |
There was a problem hiding this comment.
Actually, in the PR for this tutorial, it's called a logos core module: #239. I'll remove the file in this PR.
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
| ```bash | ||
| mv src/my_module_interface.h src/<module_name>_interface.h | ||
| mv src/my_module_plugin.h src/<module_name>_plugin.h | ||
| mv src/my_module_plugin.cpp src/<module_name>_plugin.cpp | ||
| ``` |
There was a problem hiding this comment.
seems like there is different placeholder
| ```bash | |
| mv src/my_module_interface.h src/<module_name>_interface.h | |
| mv src/my_module_plugin.h src/<module_name>_plugin.h | |
| mv src/my_module_plugin.cpp src/<module_name>_plugin.cpp | |
| ``` | |
| ```bash | |
| mv src/minimal_interface.h src/<module_name>_interface.h | |
| mv src/minimal_plugin.h src/<module_name>_plugin.h | |
| mv src/minimal_plugin.cpp src/<module_name>_plugin.cpp |
The content for wrapping a C library will be covered in a separate document