Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitsdojo_window not compatible with WidgetBook #252

Open
darkomenx opened this issue Feb 7, 2024 · 0 comments
Open

Bitsdojo_window not compatible with WidgetBook #252

darkomenx opened this issue Feb 7, 2024 · 0 comments

Comments

@darkomenx
Copy link

Hello BitsDojo,

When installed WidgetBook package in my project, I realized there is an incompatibility between Bitsdojo_window package and widgetbook package.

This "issue" is not very complicated to understand and it's fully comprehensive why it's incompatible. Nothing error for those packages.

Localization of issue (in windows OS) :

this added 2 lines in the main.cpp windows file block window widgetbook to launch

#include <bitsdojo_window_windows/bitsdojo_window_plugin.h>
auto bdw = bitsdojo_window_configure(BDW_CUSTOM_FRAME | BDW_HIDE_ON_STARTUP);

Each of context application (real app and widgetbook app) have their own entrypoint dart file.

My question is :

How can I create a dynamic system of include into main.cpp ?

I can inject pre-defined env var into this and read this but How can I create conditionnal/dynamic system that comment/decomment those 2 lines into main.cpp (or others) ?

Thank you for your package and your recommandation about this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant