Skip to content
GitLab
Menu
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
5364af4a
Commit
5364af4a
authored
Oct 13, 2010
by
Thomas Hartmann
Committed by
Marco Bubke
Nov 24, 2010
Browse files
QmlDesigner: compile fix
parent
a8a99534
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/qtquickplugin/qtquickplugin.cpp
View file @
5364af4a
...
...
@@ -32,21 +32,12 @@
#include <QtCore/QtPlugin>
#include <private/qdeclarativerectangle_p.h>
#include <private/qdeclarativescalegrid_p_p.h>
#include <MComponentData>
namespace
QmlDesigner
{
QtQuickPlugin
::
QtQuickPlugin
()
{
qApp
->
setProperty
(
"NoMStyle"
,
true
);
if
(
!
MComponentData
::
instance
())
{
// This is a workaround because we can't use a default
// constructor for MComponentData
int
argc
=
1
;
char
*
argv0
=
"meegotouch"
;
(
void
)
new
MComponentData
(
argc
,
&
argv0
);
}
qmlRegisterType
<
QDeclarativePen
>
(
"Qt"
,
4
,
7
,
"Pen"
);
qmlRegisterType
<
QDeclarativeScaleGrid
>
(
"Qt"
,
4
,
7
,
"ScaleGrid"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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