title: Qtcreator error adding symbols: DSO missing from command line
body: <p>My specific error is when trying to run a GDBus example code from here: <a href="https://developer.gnome.org/gio/2.30/GDBusConnection.html" rel="nofollow noreferrer">https://developer.gnome.org/gio/2.30/GDBusConnection.html</a></p>
  
  <p>The error looks like this:</p>
  
  <pre><code>/usr/bin/ld: main.o: undefined reference to symbol 'g_variant_type_checked_'
  
  //usr/lib64/libglib-2.0.so.0: error adding symbols: DSO missing from command line
  
  collect2: error: ld returned 1 exit status
  
  make: *** [GDbus_test] Error 1
  </code></pre>