[MeeGo-touch-dev] Using Native Qt widget and Qcamera in Meegotouch application
Iqbal.Mohammad at tieto.com
Iqbal.Mohammad at tieto.com
Wed Sep 8 08:32:08 PDT 2010
Hello everyone,
I am facing issue in adding native Qt widget (for example Push button) in meego touch application.
here is the code which I an using:
QGraphicsLinearLayout *layout = new QGraphicsLinearLayout(Qt::Vertical, centralWidget());
MApplicationWindow *appWindow=MApplication::activeApplicationWindow() ;
MScene *scene=appWindow->scene();
QGraphicsProxyWidget *pushButton = scene->addWidget(new QPushButton);
layout->addItem(pushButton);
error: no matching function for call to 'QGraphicsLinearLayout::addItem(QGraphicsProxyWidget*&)'
Can any one confirm If it's right way to add native Qt widget in MeegoTouch application?
Another Query:
I am trying to use QCamera in meegotouch application by binding it with MVideoWidget . camera->start() call triggers camera to open in different window and rest of the application in different window. I suspect that camera binding is not happening with MVideoWidget. So can anybody share experiences of using camera with meegotouch?
Br,
Iqbal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.meego.com/pipermail/meego-touch-dev/attachments/20100908/1f5b162b/attachment.html>
More information about the MeeGo-touch-dev
mailing list