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

Reply via email to