diff options
Diffstat (limited to 'README.xwidget')
| -rw-r--r-- | README.xwidget | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.xwidget b/README.xwidget index 4477f53051c..24b11286ca2 100644 --- a/README.xwidget +++ b/README.xwidget | |||
| @@ -333,11 +333,29 @@ export LDFLAGS=`pkg-config --libs webkit-1.0` | |||
| 333 | ./configure | 333 | ./configure |
| 334 | make | 334 | make |
| 335 | 335 | ||
| 336 | **** off screen rendering | ||
| 336 | export CFLAGS="`pkg-config --cflags webkit-1.0` -DHAVE_WEBKIT_OSR -g" | 337 | export CFLAGS="`pkg-config --cflags webkit-1.0` -DHAVE_WEBKIT_OSR -g" |
| 337 | export LDFLAGS=`pkg-config --libs webkit-1.0` | 338 | export LDFLAGS=`pkg-config --libs webkit-1.0` |
| 338 | ./configure | 339 | ./configure |
| 339 | make | 340 | make |
| 340 | 341 | ||
| 342 | works a little bit but i get errors like: | ||
| 343 | |||
| 344 | (emacs:8362): GLib-GObject-WARNING **: invalid cast from `GdkOffscreenWindow' to `GdkDrawableImplX11' | ||
| 345 | |||
| 346 | set a breakpoint in g_log, backtrace seems to indicate | ||
| 347 | webkitViewportAttributesRecompute is the offender. | ||
| 348 | |||
| 349 | maybe try gtk3 variants? | ||
| 350 | |||
| 351 | export CFLAGS="`pkg-config --cflags webkitgtk-3.0 ` -DHAVE_WEBKIT_OSR -g" | ||
| 352 | export LDFLAGS=`pkg-config --libs webkitgtk-3.0 ` | ||
| 353 | ./configure --with-x-toolkit=gtk3 | ||
| 354 | make | ||
| 355 | |||
| 356 | crash in gtk_window_get_size instead. great. | ||
| 357 | |||
| 358 | http://gtkplus-p3.0.sourcearchive.com/documentation/2.91.5-0ubuntu1/testoffscreenwindow_8c-source.html | ||
| 341 | 359 | ||
| 342 | 360 | ||
| 343 | *** firefox | 361 | *** firefox |