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. Qt 5.15.5 cannot load custom designer plugin

Qt 5.15.5 cannot load custom designer plugin

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
designerpluginloadlibrary
4 Posts 3 Posters 847 Views
  • 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.
  • T Offline
    T Offline
    TonyRietwyk
    wrote on 18 Aug 2021, 08:23 last edited by
    #1

    Re: QT Designer wont run

    I have been using a custom designer plugin for many versions - most recently 5.12.7 on Windows 10. I've recently installed 5.15.5 downloaded from my Qt account and built the plugin using VS2019 32-bit. Designer starts OK, but the help / plugins shows the custom one failed to load. I have Qt5.15.5/5.15.5/msvc2019/bin in my system path. MS depends.exe takes a loooong time to load the DLL, and then shows very similar error messages to the linked topic. In particular API-MS-WIN-CORE-SYNCH-L1-2-0.DLL seems to be causing a cyclic dependency with KERNEL32.dll.

    Does anyone know how to fix this? Does the installed Designer need 64-bit dll's? Is there an environment variable that I can set to get more information on why the load is failing? All of my other Qt apps seem to be building and working fine.

    K J 2 Replies Last reply 18 Aug 2021, 08:51
    0
    • T TonyRietwyk
      18 Aug 2021, 08:23

      Re: QT Designer wont run

      I have been using a custom designer plugin for many versions - most recently 5.12.7 on Windows 10. I've recently installed 5.15.5 downloaded from my Qt account and built the plugin using VS2019 32-bit. Designer starts OK, but the help / plugins shows the custom one failed to load. I have Qt5.15.5/5.15.5/msvc2019/bin in my system path. MS depends.exe takes a loooong time to load the DLL, and then shows very similar error messages to the linked topic. In particular API-MS-WIN-CORE-SYNCH-L1-2-0.DLL seems to be causing a cyclic dependency with KERNEL32.dll.

      Does anyone know how to fix this? Does the installed Designer need 64-bit dll's? Is there an environment variable that I can set to get more information on why the load is failing? All of my other Qt apps seem to be building and working fine.

      K Offline
      K Offline
      koahnig
      wrote on 18 Aug 2021, 08:51 last edited by
      #2

      @TonyRietwyk

      Hi and welcome to open source devnet user forum

      Certaily someone might be able to help you from this forum. However, Qt5.15.5 is not part of the open source and you have a paid customer account. Therefore, IMHO you shall contact customer support for help. At least it makes sense to contact them because you paid for the support.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      2
      • T Offline
        T Offline
        TonyRietwyk
        wrote on 19 Aug 2021, 06:33 last edited by
        #3

        Turns out the problem was fixed by copying zlib1.dll into the 5.15.5\msvc2019\bin folder. Third-party QZStream component needs it. Sorry for the noise!

        1 Reply Last reply
        1
        • T TonyRietwyk
          18 Aug 2021, 08:23

          Re: QT Designer wont run

          I have been using a custom designer plugin for many versions - most recently 5.12.7 on Windows 10. I've recently installed 5.15.5 downloaded from my Qt account and built the plugin using VS2019 32-bit. Designer starts OK, but the help / plugins shows the custom one failed to load. I have Qt5.15.5/5.15.5/msvc2019/bin in my system path. MS depends.exe takes a loooong time to load the DLL, and then shows very similar error messages to the linked topic. In particular API-MS-WIN-CORE-SYNCH-L1-2-0.DLL seems to be causing a cyclic dependency with KERNEL32.dll.

          Does anyone know how to fix this? Does the installed Designer need 64-bit dll's? Is there an environment variable that I can set to get more information on why the load is failing? All of my other Qt apps seem to be building and working fine.

          J Offline
          J Offline
          JKSH
          Moderators
          wrote on 19 Aug 2021, 06:43 last edited by
          #4

          @TonyRietwyk said in Qt 5.15.5 cannot load custom designer plugin:

          Does the installed Designer need 64-bit dll's?

          Designer or Creator? (Qt Creator has an embedded version of Qt Designer)

          Recent releases of Qt Creator are 64-bit. You can check by clicking Help > About Qt Creator...

          I'm not sure about the bitness of the stand-alone Qt Designer .

          API-MS-WIN-CORE-SYNCH-L1-2-0.DLL seems to be causing a cyclic dependency with KERNEL32.dll.

          The API-MS-*.dll are usually false positives. Ignore them.

          I have Qt5.15.5/5.15.5/msvc2019/bin in my system path.

          This often causes problems... I highly recommend you don't put Qt in your PATH. You can break other apps on your PC that depend on a different version of Qt.

          @TonyRietwyk said in Qt 5.15.5 cannot load custom designer plugin:

          Turns out the problem was fixed by copying zlib1.dll into the 5.15.5\msvc2019\bin folder

          That should go into the folder which contains your plugin, not into your Qt folder.

          Again, I recommend you remove Qt from your PATH.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          2

          2/4

          18 Aug 2021, 08:51

          • Login

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