filcuc / dotherside

C language library for creating bindings for the Qt QML language
Other
198 stars 40 forks source link

WebView in QML #47

Open White-Oak opened 7 years ago

White-Oak commented 7 years ago

Original issue: https://github.com/White-Oak/qml-rust/issues/9

As far as I can see, to use WebView in QML one should call QtWebView::initialize(); after creating QApplication.

So the goal is to provide a function to call that one. The problem is -- dependencies. AFAIK, DOtherSide would require QtWebView in system to provide this function, but probably not everyone would have it (embedded devices are an example). Is it possible to hide that feature behind some compilation flag? Say, make DOtherSide --qtwebview.

filcuc commented 7 years ago

Yes, but i would prefear an extra dll. Like DOtherSideExtra..For supporting bindings of Qt stuff not strictly related to the pure Qml stuff.

Il 26 set 2016 13:35, "Oak" notifications@github.com ha scritto:

Original issue: White-Oak/qml-rust#9 https://github.com/White-Oak/qml-rust/issues/9

As far as I can see, to use WebView in QML one should call QtWebView::initialize(); after creating QApplication.

So the goal is to provide a function to call that one. The problem is -- dependencies. AFAIK, DOtherSide would require QtWebView in system to provide this function, but probably not everyone would have it (embedded devices are an example). Is it possible to hide that feature behind some compilation flag? Say, make DOtherSide --qtwebview.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/filcuc/DOtherSide/issues/47, or mute the thread https://github.com/notifications/unsubscribe-auth/AG07o1UlK-yEcutJ6PCCPlhcpL0Yjl8Cks5qt632gaJpZM4KGa7Z .

White-Oak commented 7 years ago

@filcuc sounds good.

filcuc commented 7 years ago

This should be possible after #52