Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Using Qt Program as a Module, but constantly get critical message
Forum Updated to NodeBB v4.3 + New Features

Using Qt Program as a Module, but constantly get critical message

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
glib
2 Posts 2 Posters 83 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dream_Helium
    wrote last edited by
    #1

    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.

    Axel SpoerlA 1 Reply Last reply
    0
    • D Dream_Helium

      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.

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote last edited by
      #2

      @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.

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved