Skip to content

Use QtWebEngine instead of QtWebKit? #4692

Closed

Description

@flocke

QtWebKit was deprecated in Qt version 5.5 (https://wiki.qt.io/New-Features-in-Qt-5.5#Deprecated_Functionality). So it would be a good idea to switch to QtWebEngine when using Qt5.

I might look into it myself and send you a pull request if I find the time.

Could you tell me where QtWebKit is used that I have some idea where to start looking.

Activity

  1. danimo commented on Apr 16, 2016

    @danimo
    Contributor

    The class that needs porting primarily is ShibbolethWebView:

    The problem is that QtWebEngine does not offer the same functionality last time we looked:

    • QtWebEngine does not use the Qt Network stack, and we cannot set the user agent
    • We cannot shift cookies between QtWebEngine and the Qt Network stack.

    Also, we need to be able to customize certificate validation in some areas.

  2. flocke commented on Apr 16, 2016

    @flocke
    ContributorAuthor

    If I find the time tomorrow I will start to look into it, but I don't have a lot experience with C++, so it might take a while. Feel free to look into it yourself if you have the time/are interested, it might be quicker. ;)

  3. changed the title [-]Move to QtWebEngine[/-] [+]Use QtWebEngine instead of QtWebKit?[/+] on Apr 18, 2016
  4. danimo commented on Apr 26, 2016

    @danimo
    Contributor

    @guruz Not really relevant, because QtWebKit is out as well. Distros need to deal with it, as explained in the article.

  5. jturcotte commented on May 6, 2016

    @jturcotte
    Contributor

    Just to clarify, as stated in the #4798 issue, we're still not sure if QtWebEngine is what we want to use on all platforms. At the moment QtWebEngine is only a last resort solution.

  6. guruz commented on Oct 19, 2016

    @guruz
    Contributor

    @ogoffart @DeepDiver1975 Can this be closed?
    You are working on the external-browser-based login for the client right? Then we avoid any QtWeb* dependency

  7. ogoffart commented on Oct 20, 2016

    @ogoffart
    Contributor

    Yes, one can compile the client with -DNO_SHIBBOLETH To disable shiboleth support and then we don't need webkit.
    OwnCloud server from 9.1 supports already application password. I don't know if this works with shibboleth tough.

  8. dragotin commented on Oct 20, 2016

    @dragotin
    Contributor

    Worth a check, maybe @michaelstingl can help or investigate?

  9. guruz commented on Oct 20, 2016

    @guruz
    Contributor

    I'm not talking about application passwords, i'm talking about owncloud/core#24794
    which is about opening an external browser.

  10. ogoffart commented on Oct 20, 2016

    @ogoffart
    Contributor

    owncloud/core#24794 is not yet in the current server. But application password are, and i believe they should work with shiboleth. And in 2.3 you get a link to request the application password.

  11. michaelstingl commented on Oct 21, 2016

    @michaelstingl
    Contributor

    As far as I know, there is no connection between application password and shibboleth app (now). @butonic Can you confirm?

  12. butonic commented on Oct 21, 2016

    @butonic

    Making shibboleth work with desktop clients that use token based auth is a webserver (and probably firewall) configuration issue. The webdav endpoint needs to be accessible without a shibboleth session.

    What are application passwords? The session tokens a user can now create?

  13. guruz commented on Oct 21, 2016

    @guruz
    Contributor

    @butonic Interesting point, something to discuss in #4798
    So there needs to be some kind of server side shibboleth

    application passwords = session tokens that can be generated in the user config UI, indeed

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions