Has anyone had any luck using this component on Linux? Code from the JuceDemo makes me thing this component might not available on Linux?
case showWebBrowser:
result.setInfo ("Web Browser", "Shows the web browser demo", demosCategory, 0);
result.addDefaultKeypress ('i', ModifierKeys::commandModifier);
result.setTicked (currentDemoId == showWebBrowser);
#if (! JUCE_WEB_BROWSER) || JUCE_LINUX
result.setActive (true);
#endif
break;
I use this component on Windows and OSX to show an integrated help file. Can this be done on Linux using Juce? If not has anyone any ideas of what I could use instead?
It’s not implemented for Linux. There is no good solution to this on Linux, unfortunately. I spent some time trying to find something to integrate with JUCE but no luck.
[quote=“sonic59”]Chromium Embedded Framework didn’t work? http://code.google.com/p/chromiumembedded/[/quote]
I was looking at that a few months ago, but was scared off by the hundreds of dependencies and complex build environment. It’s not a quick drop-in solution, like the IE browser control in Windows. But very interesting ofc.
@Rory: If you do try it, please report your experience back here!
I’m not sure I’m going to put too much time into this, it might just be better in the long run to launch a browser using a some kind of system command. If I find a better solution I’ll let you know.
Just a short notice that I am currently integrating the Chromium Embedded Framework into my Juce project.
I was writting about my progress on the CEF forum (unfortunately, nobody was there for help): http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11367
For now I have basic support for launching a Chromium window from my Juce application and openign a Juce window from a chromium one using a custom URI schema.
I will try now to embed directly a CEF view as Juce component into my Juce application, but this looks difficult. I will be investigating offscreen rendering.
bump. would be great to get a working webbrowser component on linux. I don't know much about linux programming but would webkit be an option in a JUCE app?