Hi Chuck,

I have the same problem with the compiled 24.06 version on Fedora 40.

I compiled the 23.12 version and it runs fine.

The problem is from the LV2 plugin support which is using GTK2. I
don't think there's a way to disable LV2 plugin support at compile
time.

If I find a solution I will post it here.

Chris

On Sun, Jun 9, 2024 at 5:05 AM chuck elliot <c.ell...@pobox.com> wrote:
>
> Thanks for the link Ted but I'm afraid I didn't glean anything useful
> there...
>
> RG 21.12 runs ok on this system (lying around in /usr/local/bin)
>
> Rosegarden version: 21.12 ("Cloud Nine")
> Build key: ac38e2622f (21.06-24-gb9da2db9d)
> Built against Qt version: 5.15.2
>
> Current version info is:
>
> Rosegarden version: 24.12 ("Incredible")
> Build key: 442818511e (24.06-1-gf91b7e227)
> Built against Qt version: 5.15.13
>
> How would I be "requesting the gtk widgets"? I am not aware of having,
> or how I would have, done so...
>
> I assume that my RG preferences would be applied the same to both of the
> above versions?
>
> TIA
>
> Chuck.
>
>
>
> On 07/06/2024 7:14 pm, Ted Felix wrote:
> > Just some limited searching seems to indicate that the "gtk" widget
> > style was dropped around Qt 5.7 or so.  Maybe you're running a newer
> > version of Qt and you are requesting the gtk widgets?
> >
> > https://bbs.archlinux.org/viewtopic.php?id=214147&p=2
> >
> >   See post #36.
> >
> >   All the trails are from 2016/2017, though.  Not sure they are
> > relevant today.
> >
> > Ted.
> >
> > On 6/7/24 6:24 AM, chuck elliot wrote:
> >> Rosegarden won't run at the moment.
> >>
> >> The problem seems to be something to do with "GtkWidget" (see below).
> >>
> >> 24.06 built fine from git source.
> >>
> >> I have recently upgraded to fedora 39 and this is probably the first
> >> time I have tried to
> >>
> >> run RG since. Same result on a similar/identical system.
> >>
> >>
> >> gtk3-3.24.41-1.fc39.x86_64
> >>
> >> gtk4-4.12.5-1.fc39.x86_64
> >>
> >> RG output:
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: cannot
> >> register existing type 'GtkWidget'
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: cannot
> >> add class private field to invalid type '<invalid>'
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: cannot
> >> add private field to invalid (non-instantiatable) type '<invalid>'
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844:
> >> g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
> >> (instance_type)' failed
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: cannot
> >> register existing type 'GtkBuildable'
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844:
> >> g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE
> >> (interface_type)' failed
> >>
> >> (rosegarden:725222): GLib-CRITICAL **: 11:12:47.844:
> >> g_once_init_leave: assertion 'result != 0' failed
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844:
> >> g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
> >> (instance_type)' failed
> >>
> >> (rosegarden:725222): Gtk-CRITICAL **: 11:12:47.859:
> >> gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed
> >>
> >> (rosegarden:725222): Gtk-CRITICAL **: 11:12:47.859:
> >> gtk_style_context_lookup_color: assertion 'GTK_IS_STYLE_CONTEXT
> >> (context)' failed
> >>
> >> (rosegarden:725222): Gtk-CRITICAL **: 11:12:47.868:
> >> gtk_style_context_get_background_color: assertion
> >> 'GTK_IS_STYLE_CONTEXT (context)' failed
> >> qt.qpa.gtk: Property name "theme_unfocused_bg_color" not found.
> >>   Falling back to  QGtk3Interface::QGtkColorDefault::Background
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868: cannot
> >> register existing type 'GtkWidget'
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868: cannot
> >> add class private field to invalid type '<invalid>'
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868: cannot
> >> add private field to invalid (non-instantiatable) type '<invalid>'
> >>
> >> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868:
> >> g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
> >> (instance_type)' failed
> >> -DCMAKE_BUILD_TYPE=Debug-DCMAKE_BUILD_TYPE=Debug-DCMAKE_BUILD_TYPE=Debugqt.qpa.events.reader:
> >> [heap]  0
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Rosegarden-user mailing list
> >> Rosegarden-user@lists.sourceforge.net - use the link below to
> >> unsubscribe
> >> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
> >
> >
> > _______________________________________________
> > Rosegarden-user mailing list
> > Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
> > https://lists.sourceforge.net/lists/listinfo/rosegarden-user
>
>
> _______________________________________________
> Rosegarden-user mailing list
> Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user


_______________________________________________
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to