Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator cannot appears custom widgets
Forum Updated to NodeBB v4.3 + New Features

Qt Creator cannot appears custom widgets

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 371 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.
  • tovaxT Offline
    tovaxT Offline
    tovax
    wrote on last edited by tovax
    #1

    Re: Designer plugin only appears in standalone designer
    Hi, all
    I am using the latest Qt 5.13.0.
    Qt Creator: Based on Qt 5.12.3 (MSVC 2017, 32 bit)
    Qt Designer(standalone): MSVC 2017, 32-bit
    I create a simple custom widget, copy the *.lib and *.dll to the directory "C:\Qt\Qt5.13.0\5.13.0\msvc2017\plugins\designer"(dir1), the plugin appears successfully.
    But when I copy the same *.lib and *.dll to "C:\Qt\Qt5.13.0\Tools\QtCreator\bin\plugins\designer"(dir2), the plugin cannot appears in the designer of Qt Creator.
    I found two information in the Qt directory:

    1. The designer plugin of Qt Creator is "Designer4.dll", I think it's different from the standalone Qt Designer.
    2. qaxwidget.dll and qquickwidget.dll, they are different between "dir1" and "dir2".
      So I want to know how to make the custom widget appears in Qt Creator, and what's the compiler version of "Designer4.dll"?

    Best regards!

    jsulmJ 1 Reply Last reply
    0
    • tovaxT tovax

      Re: Designer plugin only appears in standalone designer
      Hi, all
      I am using the latest Qt 5.13.0.
      Qt Creator: Based on Qt 5.12.3 (MSVC 2017, 32 bit)
      Qt Designer(standalone): MSVC 2017, 32-bit
      I create a simple custom widget, copy the *.lib and *.dll to the directory "C:\Qt\Qt5.13.0\5.13.0\msvc2017\plugins\designer"(dir1), the plugin appears successfully.
      But when I copy the same *.lib and *.dll to "C:\Qt\Qt5.13.0\Tools\QtCreator\bin\plugins\designer"(dir2), the plugin cannot appears in the designer of Qt Creator.
      I found two information in the Qt directory:

      1. The designer plugin of Qt Creator is "Designer4.dll", I think it's different from the standalone Qt Designer.
      2. qaxwidget.dll and qquickwidget.dll, they are different between "dir1" and "dir2".
        So I want to know how to make the custom widget appears in Qt Creator, and what's the compiler version of "Designer4.dll"?

      Best regards!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @tovax said in Qt Creator cannot appears custom widgets:

      I am using the latest Qt 5.13.0.
      Qt Creator: Based on Qt 5.12.3 (MSVC 2017, 32 bit)
      Qt Designer(standalone): MSVC 2017, 32-bit

      You have to use same Qt version and same compiler as used by QtCreator/Designer for your custom widgets.
      That means in your case you have to use Qt 5.12.3 and MSVC 2017, 32 bit

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      tovaxT 1 Reply Last reply
      6
      • jsulmJ jsulm

        @tovax said in Qt Creator cannot appears custom widgets:

        I am using the latest Qt 5.13.0.
        Qt Creator: Based on Qt 5.12.3 (MSVC 2017, 32 bit)
        Qt Designer(standalone): MSVC 2017, 32-bit

        You have to use same Qt version and same compiler as used by QtCreator/Designer for your custom widgets.
        That means in your case you have to use Qt 5.12.3 and MSVC 2017, 32 bit

        tovaxT Offline
        tovaxT Offline
        tovax
        wrote on last edited by
        #3

        @jsulm Hi, jsulm, Thank you very much for your help. It solved my problem!

        1 Reply Last reply
        4

        • Login

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