|
Re: Bundling web browser with RCP app [message #1010817 is a reply to message #1008448] |
Mon, 18 February 2013 09:37 |
Thorsten Meinl Messages: 85 Registered: July 2009 |
Member |
|
|
AFAIK, the SWT browser uses IE on Windows by default, so there is no
(direct) need to bundle a browser. It may look/behave different than
Webkit, though.
Am 12.02.2013 15:31, schrieb navlelo Mising name:
> I have a RCP application which utilizes the SWT Browser. I'm currently
> developing on Linux and I'm using libwebkitgtk as the browser. This
> works fine, but I want to target Windows as well. According to the SWT
> FAQ one can only use WebKit if Safari is installed, or an old version of
> Firefox/XULRunner. I can probably live with a legacy browser, but I dont
> want the user to have the hassle of installing a browser or other
> software to make it work.
> I have a few questions relating to this:
> Is it possible to bundle my RCP app with a proper version of
> FF/XULRunner/WebKit?
> If so, how do I do this?
> I think I read somewhere that I can get the 10.x series of XULRunner
> working using XPCOM directly, is this so?
|
|
|
Re: Bundling web browser with RCP app [message #1015471 is a reply to message #1008448] |
Thu, 28 February 2013 16:29 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
If you don't really care which native browser renderer is used (webkit,
mozilla, etc.), then create all of your Browsers with style SWT.NONE,
and users will not need to install anything on any platforms, the
OS-provided renderer will always be used.
If you want a consistent native renderer across the platforms then
XULRunner is currently your only choice, in which case you would ship a
XULRunner binary on every supported platform, point at them at runtime
as described in http://www.eclipse.org/swt/faq.php#specifyxulrunner, and
set the org.eclipse.swt.browser.DefaultType property as described in
http://www.eclipse.org/swt/faq.php#browserspecifydefault .
Grant
On 2/12/2013 9:31 AM, navlelo Mising name wrote:
> I have a RCP application which utilizes the SWT Browser. I'm currently
> developing on Linux and I'm using libwebkitgtk as the browser. This
> works fine, but I want to target Windows as well. According to the SWT
> FAQ one can only use WebKit if Safari is installed, or an old version of
> Firefox/XULRunner. I can probably live with a legacy browser, but I dont
> want the user to have the hassle of installing a browser or other
> software to make it work.
> I have a few questions relating to this:
> Is it possible to bundle my RCP app with a proper version of
> FF/XULRunner/WebKit?
> If so, how do I do this?
> I think I read somewhere that I can get the 10.x series of XULRunner
> working using XPCOM directly, is this so?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02976 seconds