Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. GammaRay doesn't find plugins, but these plugins are in the correct folder

GammaRay doesn't find plugins, but these plugins are in the correct folder

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 3 Posters 865 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.
  • C Offline
    C Offline
    ChristianL
    wrote on last edited by
    #1

    Hello,
    I'm using GammaRay 2.11 on Windows 10 with Qt 5.12.1 on 64-bit. I compiled it (GammaRay) myself with the Qt that I downloaded from the qt.io website. Nearly every plugin in GammaRay cannot be found (I'm using german localization, the text says it couldn't load that plugin):
    alt text

    Actually the plugin is there in this directory. I have no clue, why it couldn't be loaded. And I remember, that with earlier versions of gammaray (version 2.9 and before) I hadn't this problem.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Might be a silly question but did you try to call nmake install after the build ended ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • C Offline
        C Offline
        ChristianL
        wrote on last edited by
        #3

        Now I spotted my mistake. I was using the Visual Studio Project File Generator from CMake. I did indeed build the target "INSTALL". But maybe the Debug and the Release Library got mixed up. I didn't find any library missing.

        Now I used the NMake Generator from CMake and it works. Thanks for giving me that clue.
        Would be good if GammaRay would warn when using the wrong Generator.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          R Kh
          wrote on last edited by R Kh
          #4

          I solved similar issue (with the gammaray_quickinspector_uid.dll plug-in) by running both “windeployqt --release …” and “windeployqt --debug …”.

          Visual Studio generator works just fine (and multi-config JIC), I used the following commands in the x64 Native Tools Command Prompt for VS 2017 (note: I have CMake 3.18.1 installed):

          set Qt5_DIR=M:\Programs\Qt\5.15.2\msvc2019_64
          set Qt5Core_DIR=%Qt5_DIR%
          cmake -S gammaray-2.11.2 -B _build-2.11.2 -A x64 -DCMAKE_INSTALL_PREFIX=M:/Programs/KDAB/GammaRay/2.11.2_x64_Qt-5.15_VC-15
          cmake --build _build-2.11.2 --config Release --parallel 16
          cmake --install _build-2.11.2
          %Qt5_DIR%\bin\windeployqt --release --no-translations M:\Programs\KDAB\GammaRay\2.11.2_x64_Qt-5.15_VC-15\bin\gammaray.exe
          %Qt5_DIR%\bin\windeployqt --debug --no-translations M:\Programs\KDAB\GammaRay\2.11.2_x64_Qt-5.15_VC-15\bin\gammaray.exe
          

          (but still had to copy Qt5Network.dll and Qt5Networkd.dll manually for some reason)

          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