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. Exclude plugins
Forum Updated to NodeBB v4.3 + New Features

Exclude plugins

Scheduled Pinned Locked Moved Solved General and Desktop
18 Posts 6 Posters 1.7k Views 2 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.
  • E Offline
    E Offline
    Ewan Green
    wrote on last edited by Ewan Green
    #9

    I also use XFCE (I love it, despite my Qt patriotism). The thing is, these additions are usually not installed as a part of Plasma (as far as I know), they need to have been deliberately installed OR with something like Kate/KWrite/Okteta as a runtime dependency.

    Ewan Green

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Ewan Green
      wrote on last edited by
      #10

      Anyway, I think the only way to inhibit the display of these widgets is to uninstall them. It sounds stupid, but Qt Creator assumes you've installed them on purpose, so from their point of view it would make way less sense to have them not appear by default.

      Ewan Green

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sushisan
        wrote on last edited by
        #11

        It's true!
        I had not seen that the Fedora QT Designer is v4
        So it is not possible in any way to specify which plugins you install and which you don't?
        QT Creator has the option to disable plugins in About Plugins but QT Designers only shows the ones it has found

        1 Reply Last reply
        0
        • E Offline
          E Offline
          Ewan Green
          wrote on last edited by
          #12

          That's where my mind first went too, but they aren't actually plugins for Qt Creator, just modules installed for Qt with their own respective packaging. There very well may be a setting to prevent their appearance that I don't know about, but removing them altogether is the only solution I know about.

          Ewan Green

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sushisan
            wrote on last edited by
            #13

            Anyway I suppose there must be a way to prevent all the plugins available in an application from loading.
            It makes no sense if it is decided that they are not going to be used

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ChrisW67
              wrote on last edited by ChrisW67
              #14

              Are you using your own Qt libraries or relying on the distribution's bundle?

              The secret to not seeing the KDE plugins is not to use a Qt library set that includes them. This does not require removing them from the system location (which may break your desktop), but rather selecting a different Qt bundle.

              The distro will probably have a qt.conf file that points to the system location for plugins. In that location you will find the KDE installed plugins that both implement the widgets and the glue that makes them visible in Designer. For example, my Ubuntu has /usr/lib/x86_64-linux-gnu/qt5/qt.conf which points to /usr/lib/x86_64-linux-gnu/qt5/plugins. If I launch the system Qt Designer (/usr/bin/designer), it loads the system Qt libraries and qt.conf and sees the system's plugins location with all the KDE plugins for Designer.

              If I launch the Qt Designer from an independent Qt library set (/home/chrisw/Qt/5.15.0/gcc_64/bin/designer from the official binary installer) then it loads Qt libraries from that bundle, along with a qt.conf that does not see the system plugins and therefore does not see the KDE plugins.

              You may also be able to achieve this with some qt.conf magic of your own, but I have not put the effort in to work that one out.

              S 1 Reply Last reply
              1
              • S sushisan

                I've downloaded qt designer and compiled without problems with qt-creator.
                I need to exclude all KF5 to be loaded and shown in widgets box.
                How can I do that?

                Christian EhrlicherC Online
                Christian EhrlicherC Online
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #15

                @sushisan said in Exclude plugins:

                I need to exclude all KF5 to be loaded and shown in widgets box.

                Why? Simply don't use them...

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

                S 1 Reply Last reply
                0
                • C ChrisW67

                  Are you using your own Qt libraries or relying on the distribution's bundle?

                  The secret to not seeing the KDE plugins is not to use a Qt library set that includes them. This does not require removing them from the system location (which may break your desktop), but rather selecting a different Qt bundle.

                  The distro will probably have a qt.conf file that points to the system location for plugins. In that location you will find the KDE installed plugins that both implement the widgets and the glue that makes them visible in Designer. For example, my Ubuntu has /usr/lib/x86_64-linux-gnu/qt5/qt.conf which points to /usr/lib/x86_64-linux-gnu/qt5/plugins. If I launch the system Qt Designer (/usr/bin/designer), it loads the system Qt libraries and qt.conf and sees the system's plugins location with all the KDE plugins for Designer.

                  If I launch the Qt Designer from an independent Qt library set (/home/chrisw/Qt/5.15.0/gcc_64/bin/designer from the official binary installer) then it loads Qt libraries from that bundle, along with a qt.conf that does not see the system plugins and therefore does not see the KDE plugins.

                  You may also be able to achieve this with some qt.conf magic of your own, but I have not put the effort in to work that one out.

                  S Offline
                  S Offline
                  sushisan
                  wrote on last edited by
                  #16

                  @ChrisW67 said in Exclude plugins:

                  Are you using your own Qt libraries or relying on the distribution's bundle?

                  The secret to not seeing the KDE plugins is not to use a Qt library set that includes them. This does not require removing them from the system location (which may break your desktop), but rather selecting a different Qt bundle.

                  The distro will probably have a qt.conf file that points to the system location for plugins. In that location you will find the KDE installed plugins that both implement the widgets and the glue that makes them visible in Designer. For example, my Ubuntu has /usr/lib/x86_64-linux-gnu/qt5/qt.conf which points to /usr/lib/x86_64-linux-gnu/qt5/plugins. If I launch the system Qt Designer (/usr/bin/designer), it loads the system Qt libraries and qt.conf and sees the system's plugins location with all the KDE plugins for Designer.

                  If I launch the Qt Designer from an independent Qt library set (/home/chrisw/Qt/5.15.0/gcc_64/bin/designer from the official binary installer) then it loads Qt libraries from that bundle, along with a qt.conf that does not see the system plugins and therefore does not see the KDE plugins.

                  You may also be able to achieve this with some qt.conf magic of your own, but I have not put the effort in to work that one out.

                  As I have been watching other programs do the same (for example Eagle for electronic design)
                  I will try that alternative

                  1 Reply Last reply
                  0
                  • Christian EhrlicherC Christian Ehrlicher

                    @sushisan said in Exclude plugins:

                    I need to exclude all KF5 to be loaded and shown in widgets box.

                    Why? Simply don't use them...

                    S Offline
                    S Offline
                    sushisan
                    wrote on last edited by
                    #17

                    @Christian-Ehrlicher said in Exclude plugins:

                    @sushisan said in Exclude plugins:

                    I need to exclude all KF5 to be loaded and shown in widgets box.

                    Why? Simply don't use them...

                    My intention is to use the QT designer for LVGL

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sushisan
                      wrote on last edited by
                      #18

                      Putting an empty qt.conf file looks for the plugins in the local directory.
                      Having plugins/platforms/libqxcb.so is enough to start designer without any additional elements

                      Thanks to all!

                      1 Reply Last reply
                      2

                      • Login

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