Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
65c929fa
Commit
65c929fa
authored
Sep 06, 2010
by
dt
Browse files
Make HelloWorld plugin always compile, mark as experimental
Task-Nr: QTCREATORBUG-2269
parent
fc3a2324
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/helloworld/HelloWorld.pluginspec
View file @
65c929fa
<plugin name="HelloWorld" version="2.0.90" compatVersion="2.0.90">
<plugin name="HelloWorld" version="2.0.90" compatVersion="2.0.90"
experimental="true"
>
<vendor>Nokia Corporation</vendor>
<copyright>(C) 2010 Nokia Corporation</copyright>
<license>
...
...
src/plugins/helloworld/helloworldplugin.cpp
View file @
65c929fa
...
...
@@ -30,6 +30,7 @@
#include
"helloworldplugin.h"
#include
<coreplugin/actionmanager/actionmanager.h>
#include
<coreplugin/actionmanager/actioncontainer.h>
#include
<coreplugin/basemode.h>
#include
<coreplugin/coreconstants.h>
#include
<coreplugin/icore.h>
...
...
@@ -77,9 +78,7 @@ bool HelloWorldPlugin::initialize(const QStringList &arguments, QString *error_m
// Create a unique context id for our own view, that will be used for the
// menu entry later.
QList
<
int
>
context
=
QList
<
int
>
()
<<
core
->
uniqueIDManager
()
->
uniqueIdentifier
(
QLatin1String
(
"HelloWorld.MainView"
));
Core
::
Context
context
(
"HelloWorld.MainView"
);
// Create an action to be triggered by a menu entry
QAction
*
helloWorldAction
=
new
QAction
(
tr
(
"Say
\"
&Hello World!
\"
"
),
this
);
...
...
src/plugins/plugins.pro
View file @
65c929fa
...
...
@@ -23,7 +23,7 @@ SUBDIRS = plugin_coreplugin \
plugin_locator
\
plugin_debugger
\
#
plugin_qtestlib
\
#
this
seems
to
be
dead
#
plugin_helloworld
\
#
sample
plugin
plugin_helloworld
\
#
sample
plugin
plugin_help
\
#
plugin_regexp
\
#
don't know what to do with this
plugin_cpaster \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment