XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.0.0
    • Debugger
    • None

    Description

      When debugging an application, debugger does not load symbols of external modules.

      Example code:
      .
      .
      .
      .

      QString strPlugin = "/usr/lib/zone/libzortc-plugin.so"
      QPluginLoader *pluginLoader = new QPluginLoader(strPlugin);
      bool ret = pluginLoader->load();

      if (!ret)

      { qDebug() << "could not load plugin" << strPlugin; qDebug() << pluginLoader->errorString(); delete pluginLoader; }

      else {

      QObject *plugin = pluginLoader->instance();
      if (plugin) {
      pDispatcher= qobject_cast <D2BasePlugin *>(plugin);
      if (!pDispatcher)

      { qDebug("ComManager: Can't cast plugin object"); delete pluginLoader; pDispatcher = 0; }

      }
      }
      .
      .
      .
      .

      Debugger log says:

      =library-loaded,id="/UNIONFS/usr/lib/zone/zod2base/libzortc-plugin.so",target-name="/UNIONFS/usr/lib/zone/zod2base/libzortc-plugin.so",host-name="/UNIONFS/usr/lib/zone/zod2base/libzortc-plugin.so",symbols-loaded="0",thread-group="i1"
      sLibrary /UNIONFS/usr/lib/zone/zod2base/libzortc-plugin.so loaded
      >&"aviso: Could not load shared library symbols for /UNIONFS/usr/lib/zone/zod2base/libzortc-plugin.so.\nDo you need \"set solib-search-path\" or \"set sysroot\"?"
      >&"\n"

      So I have Sysroot set in the Sysroot field in tools/Build & Run options menu like:

      Sysroot: /opt/zobuild/host/usr/x86_64-buildroot-linux-gnu/sysroot

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            devicecontext Oscar Casamitjana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes