Results 1 to 3 of 3

Thread: WebEngine custom plugin path

  1. #1
    Join Date
    Aug 2016
    Posts
    2
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default WebEngine custom plugin path

    I want to specify a custom plugin directory for QtWebEngine, since I want to create a non-installed plugin for my portable browser.

    I have looked through the documentation and can see that QtWebEngine uses Chrome's installed plugins, but I don't want to assume Chrome's previous installation.

    Previously with QtWebKit an environmental variable (QTWEBKIT_PLUGIN_PATH) could be set to achieve this... Now, I don't know anymore.

    Any ideas?

    Thanks!



    Qt 5.7, Win10
    Last edited by catinahat; 18th August 2016 at 20:11.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: WebEngine custom plugin path

    See if you can make it go using the information here:
    http://doc.qt.io/qt-5/qtwebengine-fe...per-plugin-api
    There are specific options for loading the Pepper Flash plugin from a particular location and generic options for other plugins. You may need a wrapper exe or script to inject the extra commandline options.

  3. The following user says thank you to ChrisW67 for this useful post:

    catinahat (23rd August 2016)

  4. #3
    Join Date
    Aug 2016
    Posts
    2
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: WebEngine custom plugin path

    Thanks for the info! I'll get started.

Similar Threads

  1. Custom build - webengine libraries not copied to installation
    By Thomas233 in forum Installation and Deployment
    Replies: 1
    Last Post: 17th December 2015, 12:04
  2. WebEngine set local storage path or programatically clear?
    By RolandHughes in forum Qt Programming
    Replies: 2
    Last Post: 4th July 2015, 20:05
  3. QtWebKit plugin path
    By Strongoloid in forum Qt Programming
    Replies: 4
    Last Post: 5th February 2013, 15:15
  4. Plugin LIBS path not found
    By vieraci in forum Qt Programming
    Replies: 7
    Last Post: 5th August 2009, 14:32
  5. Qt4 plugin path problem
    By david.corinex in forum Installation and Deployment
    Replies: 6
    Last Post: 5th January 2008, 16:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.