Unsolved Could not parse stylesheet of object 0x********
-
When I get such an error at runtime, how can I locate the widget? Why will not the name of the widget be outputted instead of the "handle"?
-
@WWebber
Widgets don't have "names", at least certainly not your variable name if that's what you mean. (Maybe the message could have written out the optionalobjectName()
, but it is what it is.) This sounds like a warning message? Try setting environment variableQT_FATAL_WARNINGS=1
and then running in debugger, hopefully it will break on warning and you'll get a stack trace which will identify where in your code? Though not sure this will work, because when it comes to parse and finds the error it may not lead back directly to a line in your code at that point, but worth a try. Even if not, you may be able to figure which widget by inspecting its values in the debugger. Let us know....