rncbc / qtractor

Qtractor - An Audio/MIDI multi-track sequencer
https://qtractor.org
GNU General Public License v2.0
509 stars 88 forks source link

qtractor in xfce4 #455

Open UrbanDesimator opened 1 month ago

UrbanDesimator commented 1 month ago

Really like qtractor but I use xfce4 and it fails with various errors some listed below. (qtractor:4286): GLib-GObject-CRITICAL **: 19:32:42.907: cannot register existing type 'GtkWidget'

(qtractor:4286): GLib-GObject-CRITICAL **: 19:32:42.907: cannot add class private field to invalid type ''

(qtractor:4286): GLib-GObject-CRITICAL **: 19:32:42.907: cannot add private field to invalid (non-instantiatable) type ''

(qtractor:4286): GLib-GObject-CRITICAL **: 19:32:42.907: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(qtractor:4286): GLib-GObject-CRITICAL **: 19:32:42.907: cannot register existing type 'GtkBuildable'

Now I have setup qt5ct and set variable "export QT_QPA_PLATFORMTHEME=qt5ct" in xinitrc fails on launch. Ive tried "export QT_STYLE_OVERRIDE=gtk2" also fails to launch. Ive also read the manual and tried the help in there no good. Am I just missing something really obvious, or is the correct "set variable" and correct file to add it to known to get qtractor working. I would really like to use it as I find the midi/edit/playback for sequencing, probably the best in linux. I just don't get on with kde at all were I have checked and qtractor starts perfectly so I know my build/install works. Any help advice would very much be appreciated. UrbanMusic

rncbc commented 1 month ago

why do you still run a Qt5 build? why you think gtk2 is the correct qt widget style ? it isn't, it's not even recommeneded at all; try with native "Fusion" instead and switch to a Qt6 build (fyi. Qt5 support is deprecated upstream already)