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 Creator NOT looking in QT_INSTALL_PLUGINS
Forum Updated to NodeBB v4.3 + New Features

Qt Creator NOT looking in QT_INSTALL_PLUGINS

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
15 Posts 4 Posters 5.1k 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.
  • D DougRoyer
    17 Jan 2017, 19:23

    @DougRoyer It will open them from $HOME//.local/share/data/QtProject/qtcreator/plugins/4.2.0

    However they do not work.

    D Offline
    D Offline
    DougRoyer
    wrote on 17 Jan 2017, 19:53 last edited by
    #5

    @DougRoyer Finally figured it out. I had 2 problems.

    (1) Finding out where it looks:

           Got to menu Help->System Information ...
           Then look for "PluginsPath"
    

    (2) I used sym-links, it ignores them. Had to do a copy.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Jan 2017, 20:22 last edited by
      #6

      Glad you found out and thanks for sharing.

      Where exactly is the plugin folder located ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply 19 Jan 2017, 20:00
      0
      • S SGaist
        17 Jan 2017, 20:22

        Glad you found out and thanks for sharing.

        Where exactly is the plugin folder located ?

        D Offline
        D Offline
        DougRoyer
        wrote on 19 Jan 2017, 20:00 last edited by DougRoyer
        #7

        @SGaist It depends on where qtcreator was installed. Where it is on my system may not be the same as another.

        The QT plugin build instructions are WRONG. They say use the qmake QT_INSTALL_PLUGINS, however that is most certainly the wrong instructions.

        On Fedora (Red Hat) and Ubuntu, the qtcreator and qmake paths are NOT the same. So, where to place the built plugins is anyone's guess.

        If I do release my plugins, its going to have to have manual install instructions, because there is no automated way to find it.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Jan 2017, 21:14 last edited by
          #8

          The instructions are correct.

          You are mixing handling of two different use cases. Qt Creator is a deployed application. The instructions have been written to integrate your custom Qt plugin with your Qt installation so you can build applications using it.

          Your distribution provided Qt Creator will use your distribution installed Qt. However, if you install Qt Creator through e.g. the online installer, it will be an independent deployed application coming with its own version of Qt thus your custom plugin should go there.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DougRoyer
            wrote on 19 Jan 2017, 21:25 last edited by DougRoyer
            #9

            No they are not correct. When I build using QMAKE, then install into QT_INSTALL_PLUGINS,
            its just as likely to be in THE WRONG PLACE.

            There is no WAY to determine at plugin install time, where to place them, and there is NO guarantee that the qmake QT_INSTALL_PLUGINS path is the place.

            Its turns out to be utterly irrelevant where qmake wants them, it does not use them.

            The -query QT_INSTALL_PLUGINS needs to be on qtcreator and designer, and to ignore the one from qmake. Nether qtcreator or designer has the -query command line option. Thus there is no way to automate an install, because the answer from qmake only might be the correct place.

            qmake does not get installed with qtcreator.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 19 Jan 2017, 22:26 last edited by
              #10

              Again, developing a plugin for Qt Creator and developing a plugin for Qt is not the same process. The instructions you are following are for developing a Qt plugin.

              As for Qt Creator, there's a dedicated project where you specify the information like sources of Qt Creator as well as deployment location. Did you use that for your plugin ?

              It's described here.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DougRoyer
                wrote on 20 Jan 2017, 01:27 last edited by
                #11

                NOTHING on that page tells you where to install the plugin. It tells you how to build one and where to place it at build time.

                When installing an plugin, the user will not be building from source.

                J 1 Reply Last reply 20 Jan 2017, 06:02
                0
                • D DougRoyer
                  20 Jan 2017, 01:27

                  NOTHING on that page tells you where to install the plugin. It tells you how to build one and where to place it at build time.

                  When installing an plugin, the user will not be building from source.

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 20 Jan 2017, 06:02 last edited by
                  #12

                  @DougRoyer "When installing an plugin, the user will not be building from source" - correct. It's your plug-in, so you have to provide an installation package or at least an installation description.

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

                  1 Reply Last reply
                  1
                  • D Offline
                    D Offline
                    DougRoyer
                    wrote on 21 Jan 2017, 01:43 last edited by
                    #13

                    Exactly. There is NO way to determine the plugin path at install time. All of those instructions are for development time, not install time.

                    The script will have to manually ask the user to start qtcreator, look at what a pop-up says, and enter the value.

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      hskoglund
                      wrote on 21 Jan 2017, 02:40 last edited by hskoglund
                      #14

                      I'm also installing a plugin (Wordstar emulation) and on Debian/Ubuntu systems to install my .so file, to find Qt Creator's plugin path I open the file
                      ~/.local/share/applications/qtcreator.desktop
                      and look for the path setting, in my case it's
                      Path=/home/henry/Qt/Tools/QtCreator/bin
                      then I toss the "/bin" suffix and add "/lib/qtcreator/plugins", like this:
                      /home/henry/Qt/Tools/QtCreator/lib/qtcreator/plugins

                      It has worked for me a couple of years but it's no guarantee :-)

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        DougRoyer
                        wrote on 21 Jan 2017, 05:22 last edited by
                        #15
                        This post is deleted!
                        1 Reply Last reply
                        0

                        14/15

                        21 Jan 2017, 02:40

                        • Login

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