Using Qt Program as a Module, but constantly get critical message
-
I just wrote a program using GModule to load a Qt module, but after loading, I constantly got critical meaasge from GLib.
g_main_context_pop_thread_default: assertion 'stack != NULL' failed
But if I ignore this, program runs very normally.
I can use environmental variable to make the messages disappear, but this might have side effects. So I want to know whether there's a good idea to make the application work. -
I just wrote a program using GModule to load a Qt module, but after loading, I constantly got critical meaasge from GLib.
g_main_context_pop_thread_default: assertion 'stack != NULL' failed
But if I ignore this, program runs very normally.
I can use environmental variable to make the messages disappear, but this might have side effects. So I want to know whether there's a good idea to make the application work.@Dream_Helium said in Using Qt Program as a Module, but constantly get critical message:
using GModule to load a Qt module
just that thought scares me! Which Qt module are you loading and why with GModule? What is the expected result?g_main_context_pop_thread_default: assertion 'stack != NULL' failed
As rightfully said: That error message comes from glib, not from Qt. Maybe consult the gtk forum.