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. Where to put my plugin to be seen in Qt Designer ?
QtWS25 Last Chance

Where to put my plugin to be seen in Qt Designer ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 2 Posters 990 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.
  • G Offline
    G Offline
    giorgik63
    wrote on 15 May 2023, 17:48 last edited by
    #1

    I installed on Debian 11 Qt 6.5 through the qt-unified-linux-x64-4.5.2-online.run installer. After the installation I created my own plugin (release version) and now I would like to see it listed among the plugins in use in Qt Designer (incorporated in QtCreator after installation). Where should I put it ? I tried putting it in /home/myuser/Qt/Tools/QtCreator/lib/Qt/plugins/designer/libcustomwidgetplugin.so (path install Qt) and here's what you see from Tools > Form Editor... > About Qt Designer Plugins... (see attached figure):
    Istantanea_2023-05-15_16-20-32.png
    If instead I put it in /home/myuser/Qt/6.5.0/gcc_64/plugins/designer/ nothing is displayed, even if I refresh it. Can you help me visualize this plugin in Qt Designer ?

    C 1 Reply Last reply 15 May 2023, 18:34
    0
    • G giorgik63
      15 May 2023, 17:48

      I installed on Debian 11 Qt 6.5 through the qt-unified-linux-x64-4.5.2-online.run installer. After the installation I created my own plugin (release version) and now I would like to see it listed among the plugins in use in Qt Designer (incorporated in QtCreator after installation). Where should I put it ? I tried putting it in /home/myuser/Qt/Tools/QtCreator/lib/Qt/plugins/designer/libcustomwidgetplugin.so (path install Qt) and here's what you see from Tools > Form Editor... > About Qt Designer Plugins... (see attached figure):
      Istantanea_2023-05-15_16-20-32.png
      If instead I put it in /home/myuser/Qt/6.5.0/gcc_64/plugins/designer/ nothing is displayed, even if I refresh it. Can you help me visualize this plugin in Qt Designer ?

      C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 15 May 2023, 18:34 last edited by
      #2

      @giorgik63 The folder is correct but you compiled it with the wrong Qt version - you have to compile it with the Qt version which QtCreator is built with.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      G 1 Reply Last reply 15 May 2023, 18:43
      0
      • C Christian Ehrlicher
        15 May 2023, 18:34

        @giorgik63 The folder is correct but you compiled it with the wrong Qt version - you have to compile it with the Qt version which QtCreator is built with.

        G Offline
        G Offline
        giorgik63
        wrote on 15 May 2023, 18:43 last edited by
        #3

        @Christian-Ehrlicher But the plugin was compiled with Qt 6.5 version with its Qt Creator installation.

        C 1 Reply Last reply 15 May 2023, 18:46
        0
        • G giorgik63
          15 May 2023, 18:43

          @Christian-Ehrlicher But the plugin was compiled with Qt 6.5 version with its Qt Creator installation.

          C Online
          C Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 15 May 2023, 18:46 last edited by
          #4

          @giorgik63 Please take a look what QtCreator was built with (About dialog) - I would guess it's not 6.5

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          G 1 Reply Last reply 15 May 2023, 19:06
          0
          • C Christian Ehrlicher
            15 May 2023, 18:46

            @giorgik63 Please take a look what QtCreator was built with (About dialog) - I would guess it's not 6.5

            G Offline
            G Offline
            giorgik63
            wrote on 15 May 2023, 19:06 last edited by
            #5

            @Christian-Ehrlicher This is what it shows me

            Istantanea_2023-05-15_21-03-21.png

            C 1 Reply Last reply 15 May 2023, 19:20
            0
            • G giorgik63
              15 May 2023, 19:06

              @Christian-Ehrlicher This is what it shows me

              Istantanea_2023-05-15_21-03-21.png

              C Online
              C Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 15 May 2023, 19:20 last edited by
              #6

              So as I said - it was built with Qt 6.4.3 so when you want that QtCreator can load your plugin you have to compile it witt Qt 6.4.3 as already told you in my first post

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              G 1 Reply Last reply 15 May 2023, 19:25
              0
              • C Christian Ehrlicher
                15 May 2023, 19:20

                So as I said - it was built with Qt 6.4.3 so when you want that QtCreator can load your plugin you have to compile it witt Qt 6.4.3 as already told you in my first post

                G Offline
                G Offline
                giorgik63
                wrote on 15 May 2023, 19:25 last edited by
                #7

                @Christian-Ehrlicher I understand. So if I want to use Qt 6.5 instead, do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?

                C 1 Reply Last reply 15 May 2023, 20:13
                0
                • G giorgik63
                  15 May 2023, 19:25

                  @Christian-Ehrlicher I understand. So if I want to use Qt 6.5 instead, do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?

                  C Online
                  C Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on 15 May 2023, 20:13 last edited by
                  #8

                  @giorgik63 said in Where to put my plugin to be seen in Qt Designer ?:

                  do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?

                  Why should you recompile Qt from source when you want a QtCreator (= a program which is using Qt) built with a specific version?
                  IIrc the next QtCreator will be based on Qt6.5

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  G 1 Reply Last reply 15 May 2023, 21:04
                  0
                  • C Christian Ehrlicher
                    15 May 2023, 20:13

                    @giorgik63 said in Where to put my plugin to be seen in Qt Designer ?:

                    do I have to recompile Qt 6.5 from source so that I also have Qt Creator based on Qt 6.5 ?

                    Why should you recompile Qt from source when you want a QtCreator (= a program which is using Qt) built with a specific version?
                    IIrc the next QtCreator will be based on Qt6.5

                    G Offline
                    G Offline
                    giorgik63
                    wrote on 15 May 2023, 21:04 last edited by
                    #9

                    @Christian-Ehrlicher Yes, but how long will I have to wait ?

                    C 1 Reply Last reply 16 May 2023, 15:55
                    0
                    • G giorgik63
                      15 May 2023, 21:04

                      @Christian-Ehrlicher Yes, but how long will I have to wait ?

                      C Online
                      C Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on 16 May 2023, 15:55 last edited by
                      #10

                      @giorgik63 said in Where to put my plugin to be seen in Qt Designer ?:

                      but how long will I have to wait ?

                      You should ask the QtCreator devs if you want to know it exactly. Or simply compile your plugin with Qt 6.4

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      0

                      4/10

                      15 May 2023, 18:46

                      • Login

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