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. Probem in Qt creator plugin implementation
Forum Updated to NodeBB v4.3 + New Features

Probem in Qt creator plugin implementation

Scheduled Pinned Locked Moved Qt Creator and other tools
24 Posts 5 Posters 11.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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #12

    Hi,

    You have "here":http://doc.qt.digia.com/qtcreator-extending/ the complete documentation that explains what to do to extend 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
    0
    • hskoglundH Online
      hskoglundH Online
      hskoglund
      wrote on last edited by
      #13

      Hi, built a plugin last week for Qt 5.3, the link in SGait's post is good, here are some additional info:

      1. Once you've downloaded QtCreator's source zip, you need to extract it and build a new QtCreator 3.1.1 .exe-file from the source. This version 3.1.1 of QtCreator has a slight extra gotcha: it needs to be built with Qt 5.2.1 :-)

      2. So uninstall Qt 5.3 and instead install Qt 5.2.1.

      3. Then doubleclick on the qtcreator.pro file from the zip, the qtcreator project should open sloooowly in your QtCreator 3.0.1 (in Qt 5.2.1).

      4. Important: change from Debug to Release build mode. (Assuming you are building your plugin in Release mode. )

      5. Start the build, make same coffee, it will take 30 minutes on a good PC with an SSD.

      6. Now you are ready to build your QtCreator plugin. Use the directory where qtcreator.pro is as the 'Qt Creator source' directory. Use the directory where the release bulld was created as the 'Qt Creator Build'.

      7. First time, just click through the Wizard and let everything be defaults.

      8. Note that you have 2 different QtCreator builds. The 3.0.1 you downloaded, and the 3.1.1 one you built yourself. Default is that your plugin is placed inside the 3.1.1 one. So open it and see if your plugin was loaded.

      EDIT: you have to keep Qt 5.2.1 around for working with your QtCreator plugin, I think you can install Qt 5.3 as well but haven't tested.

      MORE EDIT: The vanilla QtCtreator 3.1.1 inside Qt 5.3 (the one you download) is built with Visual Studio 2010 32-bit. If you want to your plugin to be compatible with the vanilla QtCreator you also have to build it using Visual Studio, you cannot use MinGW :-(
      I don't have the 2010 version, I use Visual Studio 2012 32-bit. It seems to work fine, but in other thread here I was warned that for example std::vector and std::list are not compatible across those versions. But if you stick to Qt structures and classes you should be fine if you want use MSVC2013 or 2012 instead. And I think the Express version should work too.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mvenkat061
        wrote on last edited by
        #14

        Thank you SGaist and hskoglund for helping me.

        I have one more doubt.

        I have an application which is have hundreds of UI files. Its having functionalities like Open pages, Close, Minimize, Maximaze, Zoom IN/OUT, status bar updation and keyboard short cuts.

        How to manage multiple UI file without creating .cpp and .h files for each UI file.
        because have more than 700 pages.
        Functionality for each page amolst same.
        I looking solution like create No.of UI and single .cpp and .h shold handle all GUI functionality.
        Please help me how can i achive.
        Please provide any materials or example which can help me.

        Thank you

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

          Are you sure you need that many UI files especially if each page does almost the same thing ?

          Why not have one "base" page and then derive the other from that one ? Or sometime it's simpler to create a more complex UI from the start

          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
          • M Offline
            M Offline
            mvenkat061
            wrote on last edited by
            #16

            Hi SGaist ,

            Ya I need those many files because each one display some filed staus.

            bit more explaination about requirements:

            I want to develop a GUI based application using Qt on Fedora Linux.
            When Linux boots I want that my application be launched and Linux destop should not be launched. My application should work as linux destop.

            How can i achive this.

            I come across Qtopia but did not understand how to use it.

            can you please help me?

            Thank you

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

              In short you are trying to implement your own desktop environment ?

              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
              • M Offline
                M Offline
                mvenkat061
                wrote on last edited by
                #18

                Yes..
                can you suggest how to do achieve?

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

                  With an awful lot of work, no joke.

                  You should maybe consider using something like "razor-qt":http://razor-qt.org/screenshots/

                  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
                  • M Offline
                    M Offline
                    mvenkat061
                    wrote on last edited by
                    #20

                    Hi SGaist,

                    I am exploring possibilities of implementing my own desktop using razor-qt.

                    i want to ask to one more doubt.

                    how to add/ create a UI file to existing project in Qt Creator.

                    Their is a option right click on project->add new->Select Qt(under files and classes) and select Qt designer form ->choose->next->next->finish.

                    Its provide one more ui file. but i dont know how to display newly created Ui file from existing project.

                    can you please help me.

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

                      QUiLoader comes to mind

                      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
                      • M Offline
                        M Offline
                        mvenkat061
                        wrote on last edited by
                        #22

                        Hi SGaist,

                        Thank you for your quick replay..

                        Its working..

                        may i know your mail Id or facebook id or tweeter id...

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          dojoy
                          wrote on last edited by
                          #23

                          Hi, post is old, but the question hasn't been answered...
                          Same problem here. QT and Creator up to date, sources downloaded and Paths set.
                          There's no #include <extensionsystem/iplugin.h>...

                          Paths ARE set, but no matter if correct or not,

                          **there is no "iplugin.h" on my system. **

                          What else to download/checkout??

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

                            Hi,

                            Its in qt-creator/src/libs/extensionsystem/iplugin.h

                            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

                            • Login

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