Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

call Qt5Cored!qVersion() Symbol not a function in '.call Qt5Cored!qVersion()' read on for details.



  • I get this error when i load QLibrary with this code...

      ...
    QFile libfile(qpath);
      if(libfile.exists())
      {
          QLibrary *appinstance = new QLibrary(qpath);
          //qDebug() << "loadapp - loadapp path : " << appinstance->fileName();
          //qDebug() << "loadapp - loading dll : " << appinstance->load();
          if(appinstance != nullptr && appinstance->load() == true)
          {
    ...
    
    

    this is the debugger log
    Module loaded: C:\WINDOWS\System32\DriverStore\FileRepository\ki131549.inf_amd64_bd2f201ab4d2a9a8\igdumdim64.dll
    Module loaded: C:\WINDOWS\System32\DriverStore\FileRepository\c0338121.inf_amd64_85e088bb254b43ed\B337654\aticfx64.dll
    Module loaded: C:\WINDOWS\System32\DriverStore\FileRepository\c0338121.inf_amd64_85e088bb254b43ed\B337654\atiu9p64.dll
    Module loaded: C:\WINDOWS\System32\DriverStore\FileRepository\c0338121.inf_amd64_85e088bb254b43ed\B337654\atiumd64.dll
    Module loaded: C:\WINDOWS\System32\DriverStore\FileRepository\c0338121.inf_amd64_85e088bb254b43ed\B337654\atiumd6a.dll
    Module loaded: C:\WINDOWS\SYSTEM32\POWRPROF.dll
    Module loaded: C:\WINDOWS\SYSTEM32\UMPDC.dll
    Module loaded: C:\WINDOWS\SYSTEM32\amdihk64.dll
    Module loaded: C:\WINDOWS\System32\MSCTF.dll
    Module loaded: C:\WINDOWS\system32\OskSupport.dll
    Module loaded: C:\WINDOWS\system32\dataexchange.dll
    Module loaded: C:\WINDOWS\system32\dcomp.dll
    Module loaded: C:\WINDOWS\system32\twinapi.appcore.dll
    Module loaded: C:\Program Files\LANDWorksCAD-v9\iconengines\qsvgicond.dll
    Module loaded: C:\WINDOWS\SYSTEM32\textinputframework.dll
    Module loaded: C:\WINDOWS\System32\CoreMessaging.dll
    Module loaded: C:\WINDOWS\System32\CoreUIComponents.dll
    Module loaded: C:\WINDOWS\SYSTEM32\ntmarta.dll
    Module loaded: C:\WINDOWS\SYSTEM32\wintypes.dll
    Module loaded: C:\WINDOWS\SYSTEM32\wintypes.dll
    Module loaded: C:\WINDOWS\SYSTEM32\wintypes.dll
    Module loaded: C:\WINDOWS\system32\Oleacc.dll
    Module loaded: C:\WINDOWS\system32\UIAutomationCore.dll
    Module loaded: C:\WINDOWS\SYSTEM32\sxs.dll
    Module loaded: C:\Program Files\LANDWorksCAD-v9\LANDWorksCAD.dll
    Stopped: "unknown".
    Stopped.
    lm m wow64
    !qtcreatorcdbext.breakpoints-v
    .frame 0xd
    !qtcreatorcdbext.scripttheDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["local","inspect","return","watch"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"stringcutoff":"10000","timestamps":0,"typeformats":{},"uninitialized":[],"watchers":[]})
    <Rebuild Watchmodel 1 @ 08:07:28.591 >
    ...
    Type information missing error for qtHookData




    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***


    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***


    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***


    *** Type referenced: Qt5Cored!qtHookData ***



    Type information missing error for qtHookData




    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***


    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***


    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***


    *** Type referenced: Qt5Cored!qtHookData ***



    Type information missing error for qtHookData
    .call Qt5Cored!qVersion()
    ^ Symbol not a function in '.call Qt5Cored!qVersion()'
    DEBUG: Failed to call function 'Qt5Cored!qVersion()' error: Execute failed: E_FAIL Unknown error 517
    result={data=[{iname="local.path",name="path",origaddr="0xb75c2f9af8",address="0xb75c2f9b70",autoderefcount="1",address="0xb75c2f9b70",type="QChar",value="67"},{iname="local.appinstance",name="appinstance",origaddr="0xb75c2f99d8",address="0x22663a16210",autoderefcount="1",address="0x22663a16210",numchild="1",type="QLibrary",value=""},{iname="local.libfile",name="libfile",numchild="0",type="QFile",valueencoded="notaccessible",value=""},{iname="local.qpath",name="qpath",numchild="1",address="0xb75c2f99f0",type="QString",valueencoded="utf16",value="43003A002F00500072006F006700720061006D002000460069006C00650073002F004C0041004E00440057006F0072006B0073004300410044002D00760039002F004C0041004E00440057006F0072006B0073004300410044002E0064006C006C00"},{iname="local.startfn",name="startfn",address="0xb75c2f9a00",numchild="0",type="<function>",value="0x22663a15e20"},{iname="local.this",name="this",origaddr="0xb75c2f9af0",address="0x2265f7723d0",autoderefcount="1",address="0x2265f7723d0",numchild="1",type="Program",value=""}],partial="0",timings=[]}
    <Rebuild Watchmodel 1 @ 08:07:28.591 >
    Finished retrieving data.
    ...
    Can anyone give me a hint as to why this happens?
    it does not happen when not using the debugger or in release mode.
    Windows 10
    Qt version: Desktop_Qt_5_12_3_MSVC2017_64bit-Debug

    I would really appreciate any suggestions as why this is happening.
    Many thanks.


  • Lifetime Qt Champion

    @kenchan What library are you trying to load?


Log in to reply