# How to load my compiled CTK into the QT designer and make it a drag and drop control？

**URL:** <https://discourse.slicer.org/t/how-to-load-my-compiled-ctk-into-the-qt-designer-and-make-it-a-drag-and-drop-control/29974>\
**Category:** Support\
**Created:** [June 12, 2023, 1:59am UTC](https://discourse.slicer.org/t/how-to-load-my-compiled-ctk-into-the-qt-designer-and-make-it-a-drag-and-drop-control/29974 "2023-06-12T01:59:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ma1282029525](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ma1282029525/32/66047_2.png) [@ma1282029525](https://discourse.slicer.org/u/ma1282029525)\
**Post date:** [June 12, 2023, 1:59am UTC](https://discourse.slicer.org/t/how-to-load-my-compiled-ctk-into-the-qt-designer-and-make-it-a-drag-and-drop-control/29974/1 "2023-06-12T01:59:45Z")

</div>

I have compiled a ctk library myself and added CTKWidgetsPlugins.dll to qt D: QT 5.15.2 msvc2019\_ 64 plugins designer directory, but it prompts me that I cannot load the library and cannot find the specified module

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [June 12, 2023, 2:47am UTC](https://discourse.slicer.org/t/how-to-load-my-compiled-ctk-into-the-qt-designer-and-make-it-a-drag-and-drop-control/29974/2 "2023-06-12T02:47:44Z")

</div>

If you start Slicer (can be one you downloaded from [download.slicer.org](http://download.slicer.org)), you can run `slicer.util.startQtDesigner()` which will start Qt Designer and CTK related widgets will be available to drag and drop into a UI.

[https://slicer.readthedocs.io/en/latest/developer\_guide/slicer.html?highlight=Designer#slicer.util.startQtDesigner](https://slicer.readthedocs.io/en/latest/developer_guide/slicer.html?highlight=Designer#slicer.util.startQtDesigner)

---

<div class="post-metadata">

**Author:** ![ma1282029525](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ma1282029525/32/66047_2.png) [@ma1282029525](https://discourse.slicer.org/u/ma1282029525)\
**Post date:** [June 20, 2023, 3:05am UTC](https://discourse.slicer.org/t/how-to-load-my-compiled-ctk-into-the-qt-designer-and-make-it-a-drag-and-drop-control/29974/3 "2023-06-20T03:05:15Z")

</div>

Can I load these additional plugins into my own qt creator environment
