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. Qt Creator plugin development - howto
Forum Updated to NodeBB v4.3 + New Features

Qt Creator plugin development - howto

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.5k Views 1 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.
  • S Offline
    S Offline
    soroush
    wrote on last edited by
    #1

    Hello forum

    I'm working on a part of project aimed to desin a behavior engine graphically. It should generate C++ code from graphical presentation of state machine. currently my teammates are working with that program to design and test behaviors. The problem is that copying and pasting generated code to existing code is error-prone. Here is a snapshot of example engine:

    !http://s3.picofile.com/file/7372578709/snapshot24.jpeg(Simple run)!

    Today I found "Qt Creator UML tool":http://qt-project.org/wiki/Qt_Creator_Plug-in_Gallery#418a0a6ef7a69d0dcd67044df516080c which integrates a graphical designer for class diagrams with Qt creator itself.

    This gave me an idea: If we have a plugin for our Behavior Engine, then it could be integrated with Qt creator, so I simply give my teammates a plugin and ask them to install it in their Qt creators. So the can directly manage code of engine without even opening .cpp files :D

    I don't know about Qt Creator plugin mechanism and development methods. need some start points and/or suggestions. Particulary I would like to know if users have to re-compile their creator to have a plugin installed or not? And how do I best start to create a plugin in Ubuntu? (special packages needed)?

    Thanks in advance.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Check an existing plugin that does something similar to what you want to do.

      No, users of a plugin do not need to recompile their creator to use a new plugin. The plugin must be build with exactly the same settings used to build the creator with. This includes compiler, Qt version, etc.

      I'd recommend downloading the source packages of Qt Creator and working from there. The headers needed to address functionality in the other plugins tend not to get installed.

      Stop by in IRC if you have questions. #qt-creator on the freenode network.

      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