[LV2] [PATCH] Suil Qt4 in Gtk2 Fixin's

Michael Fisher mfisher31 at gmail.com
Mon Jul 1 04:05:49 PDT 2013


Here's a patch that addresses a few issues with suil's qt4 in gtk2

1) QApplication is and can only ever be a single instance. Previously a
new QApplication was being created for each individual wrapped Qt4UI.
2) QApplication requires that argc is > 0 and argv isn't NULL
3) QGtkStyle causes horrible crashes (don't know why).  This patch
forces the usage of the "plastique" Qt theme.

# 3 is kind of just a workaround, but it keeps Ingen/Ardour3 from
crashing all the time while testing some Qt4UI's.

Dave, I made this with git.  Hopefully that isn't a problem.  The patch
should apply cleanly to your SVN r5144.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_qt4_in_gtk2.patch
Type: text/x-patch
Size: 2246 bytes
Desc: not available
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20130701/49d816ed/attachment.bin>

More information about the Devel mailing list