Results 1 to 3 of 3

Thread: Q Creator plugin: is it neccesserry to always recompile the Qt Creator sources?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2014
    Posts
    125
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Question Q Creator plugin: is it neccesserry to always recompile the Qt Creator sources?

    Hello;

    I'm building a plugin for Qt Creator as follows:

    I was able to download the Qt Creator sources and compile them.

    I was also able to successfully create the basic Qt Creator plugin as explained in http://doc.qt.digia.com/qtcreator-ex...st-plugin.html.

    I do have the three files myplugin.dll, myplugin.a and myplugin.pluginspec and have them in the proper directory of my Qt Creator sources. They run fine.

    Should I recompile my Qt Creator sources each time that I produce new myplugin.dll, myplugin.a and myplugin.pluginspec files?

    Why is it necessary to have the Qt Creator sources in the first place?

    Thanks;

    Mut

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,420
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Q Creator plugin: is it neccesserry to always recompile the Qt Creator sources?

    I don't think you need to recompile Qt Creator itself if you are recompiling your plugin.

    That might be necessary if a newer version changes something about the plugin API but as far as I understand they are planning on keeping it stable.

    Since there is no plugin SDK right now, the only way to get the headers and symbols for the plugin API are the sources.
    Having the sources and your own build obviously also makes it much easier to debug a plugin and its integration since once can step into Qt Creator's main plugins and add logging, etc

    Cheers,
    _

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Q Creator plugin: is it neccesserry to always recompile the Qt Creator sources?

    Quote Originally Posted by mut View Post
    Should I recompile my Qt Creator sources each time that I produce new myplugin.dll, myplugin.a and myplugin.pluginspec files?
    No, you just need to build your plugin.

    Why is it necessary to have the Qt Creator sources in the first place?
    Because in your plugin you are including files that are part of Qt Creator source code and because some tools are needed during compilation of your plugin that are part of Qt Creator source code bundle.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 19
    Last Post: 12th June 2014, 07:30
  2. Qt Creator: debug into 3rd-party sources
    By zaphod.b in forum Qt Tools
    Replies: 0
    Last Post: 16th April 2014, 16:39
  3. Qt creator Plugin questions
    By EpicViTTo in forum Newbie
    Replies: 12
    Last Post: 21st February 2013, 15:38
  4. Replies: 2
    Last Post: 5th October 2012, 13:55
  5. Why don't Qt Creator projects recompile after header changes?
    By tksharpless in forum Qt Programming
    Replies: 5
    Last Post: 19th October 2011, 17:20

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.