Skip to content

Bitsdojo_window not compatible with WidgetBook #252

Description

@darkomenx

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions