Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QtCreator plugin example

$
0
0
I wanted to create a Qt Creator plugin for QtCreator and tried to start with the example provided here: http://doc.qt.digia.com/qtcreator-extending/creating-plugins.html Therefore I compiled the sources(5.0.1) and the Qt Creator(2.6.1) and started developing. I also finished the second part of the tutorial “Creating your first plugin”. After compiling the new instance of the QtCreator starts and my plugin is registered in QtCreator -> About Plugins… But I have no menu entry in Tools-> and in the bar on the left side I have every entry at least twice. (Welcome, Welcome, Edit, Edit, Edit and so on). I also have several application output warnings and errors, which tell me that it is tried to add a duplicate object or the action is already registered. The application output says (only part of it): PluginManagerPrivate::addObject(): trying to add duplicate object addOverrideAction /: Action / is already registered for context 128 Core.GeneralOutputPane. registerShortcut: action already registered, id “QtCreator.Sidebar.Outline” . registerShortcut: action already registered, id “QtCreator.Sidebar.Projects” . registerShortcut: action already registered, id “QtCreator.Sidebar.File System” . registerShortcut: action already registered, id “QtCreator.Sidebar.CppEditor.TypeHierarchy” . registerShortcut: action already registered, id “QtCreator.Sidebar.Bookmarks” . registerShortcut: action already registered, id “QtCreator.Sidebar.Class View” . registerShortcut: action already registered, id “QtCreator.Sidebar.Open Documents” . registerShortcut: action already registered, id “QtCreator.Sidebar.Open Documents” . And a lot of more entries. Am I doing something wrong or is there another example for writing a plugin?

Viewing all articles
Browse latest Browse all 18427

Trending Articles