Kai,
I found that only sub class of QDelarativeItem can be added to the item library
of Quick Designer. Is that by design? QML runtime plugin can register any
QObject type, why shouldn't QuickDesigner? If I want to import QLabel to the
designer, should I create a class which inherits both
Kai,
What about QGraphicsWidget? There seems no visual editor for it.
Besides, it is not clear on how to add a new sub class QDelarativeItem to item
library. I tried the following:
I. in myplugin.cpp:
qmlRegisterTypeQDeclarativeItem(test_mtf_plugin,1,0,QDeclarativeItem);
2. in .metainfo
Hi Bruce,
About the org.webkit 1.0 vs QtWebkit 1.0 (and more generally code that
differs from what you run w/ qmlviewer and embed inside a C++ Qt app,
I've personnally found that the following trick helps:
In your qml code, add comments such as
import org.webkit 1.0 //_QML
//_CPP import
import org.webkit 1.0 //_QML
//_CPP import QtWebKit 1.0
Just use a new enough build of Qt 4.7 on both and you'll not have to do this.
The module is called QtWebKit for the 4.7.0 release. It was called
org.webkit in some past beta release.
--
Warwick
My understanding may be wrong, but I am thinking that the version of Qt 4.7
that I am using on the N900 is relatively new because I am thinking that it
came within this .deb file in the extras-devel repository
libqt4-experimental-core_4.7.0~git20100706-0maemo1_armel.deb
which I downloaded from
Kai,
Yes, it works now:) Thanks!
Now my only concern is that how far is it for qmldesigner to support widgets
other than QDeclarativeItem, for example libmeegotouch(libdui) widgets?
Actually I can afford some time to do so if needed.
Best regards,
John Chen
-Original Message-
From: