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

WebView in QML #47

Open
White-Oak opened this issue Sep 26, 2016 · 3 comments
Open

WebView in QML #47

White-Oak opened this issue Sep 26, 2016 · 3 comments

Comments

@White-Oak
Copy link

Original issue: White-Oak/qml-rust#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
Copy link
Owner

filcuc commented Sep 26, 2016

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
White-Oak/qml-rust#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
#47, or mute the thread
https://github.com/notifications/unsubscribe-auth/AG07o1UlK-yEcutJ6PCCPlhcpL0Yjl8Cks5qt632gaJpZM4KGa7Z
.

@White-Oak
Copy link
Author

@filcuc sounds good.

@filcuc
Copy link
Owner

filcuc commented Feb 19, 2017

This should be possible after #52

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

No branches or pull requests

2 participants