Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. What are the source and build directories for a plugin testing Qt Creator instance?
QtWS25 Last Chance

What are the source and build directories for a plugin testing Qt Creator instance?

Scheduled Pinned Locked Moved Solved Installation and Deployment
pluginbuild directoryqt creatorsourceconfigure
8 Posts 5 Posters 3.2k 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.
  • H Offline
    H Offline
    hlindberg
    wrote on last edited by
    #1

    I am a university student who is new to Qt and Qt Creator. I recently got involved in a project that involves creating a Qt Creator plugin. It seems I'm stuck in getting the plugin project configured properly (it's just a "Hello World" plugin at this point).

    I'm following the steps of the Creating Your First Plugin tutorial. The tutorial recommends using two different instances of Qt Creator – one for developing the plugin, the other for testing it. To this end I've installed the open source version of Qt 5.9 in two locations on my Linux PC, namely $HOME/Qt5.9.1 and /opt/Qt5.9.1. Both locations have their own copy of Qt Creator in the Tools/QtCreator subdirectories. I'm using 64-bit Ubuntu 16.04.

    I'm stuck in the tutorial at Step 6: "Set the Qt Creator sources and Qt Creator build fields to the source and build directory of the Qt Creator instance you want to use to test your plugin with, respectively." Where can I find these source and build directories? Do I need to locate the source code for Qt Creator? How do I determine the build directory?

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      The source directory is the folder where you downloaded the Qt Creator sources. The build directory is the folder containing your build of Qt Creator.

      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
      1
      • H Offline
        H Offline
        hlindberg
        wrote on last edited by
        #3

        Thank you for the welcome and clarification, SGaist!

        It wasn't immediately apparent to me that I actually needed the Qt Creator sources to create a plugin for the IDE. Fortunately I got some good advice from a project team member of mine on the steps of solving the problem. I downloaded the sources, compiled them and finally made a copy of the build directory. This way I got the two instances of Qt Creator needed for development and testing. All is as it should now.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          RDORG
          wrote on last edited by
          #4

          Hi,

          I am in need to create QT plugin but I am using Qt 4.6.0 version. I am not able to find Source code for the same for linux 32 bit platform.
          The one which I have got is for 5.11 version.

          Please help me in this regard.
          If you can share the steps as to how to begin with it, it will be great.

          Thanks in advance.

          RatzzR 1 Reply Last reply
          0
          • R RDORG

            Hi,

            I am in need to create QT plugin but I am using Qt 4.6.0 version. I am not able to find Source code for the same for linux 32 bit platform.
            The one which I have got is for 5.11 version.

            Please help me in this regard.
            If you can share the steps as to how to begin with it, it will be great.

            Thanks in advance.

            RatzzR Offline
            RatzzR Offline
            Ratzz
            wrote on last edited by
            #5

            @RDORG said in What are the source and build directories for a plugin testing Qt Creator instance?:

            I am not able to find Source code

            Did you mean Qt 4.6.0 setup ?

            --Alles ist gut.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RDORG
              wrote on last edited by
              #6

              @Ratzz said in What are the source and build directories for a plugin testing Qt Creator instance?:

              .6.0

              Hi @Ratzz : Thanks for replying. Yes, I have QT 4.6.0 installed in my linux machine, 32bit version. And, I wanted to create a plugin for the same. Read many documents on google and got to know that i need to have source code for creating a plugin. But I am stuck here as to how to proceed as I am not getting it.

              Thanks.

              J.HilkJ 1 Reply Last reply
              0
              • R RDORG

                @Ratzz said in What are the source and build directories for a plugin testing Qt Creator instance?:

                .6.0

                Hi @Ratzz : Thanks for replying. Yes, I have QT 4.6.0 installed in my linux machine, 32bit version. And, I wanted to create a plugin for the same. Read many documents on google and got to know that i need to have source code for creating a plugin. But I am stuck here as to how to proceed as I am not getting it.

                Thanks.

                J.HilkJ Online
                J.HilkJ Online
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                @RDORG
                https://github.com/qt-creator/qt-creator/tree/4.6


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                1
                • R Offline
                  R Offline
                  RDORG
                  wrote on last edited by
                  #8

                  Thanks @J-Hilk
                  The link provided needs other configuration.

                  My machine configuration is

                  Red Hat Linux - 32 bit
                  Qt creator 1.2.92, based on Qt 4.6.0 (32 bit)
                  Make version: GNU Make 3.81
                  Qmake version: 1.07a (Qt 3.3.6)

                  Please let me know what are the pre-requisites for a plugin. I want to create a menu item for Qt creator.

                  Thanks in advance.

                  1 Reply Last reply
                  0

                  • Login

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