ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #03485
[Bug 1333317] Re: Support click package template with C++ code launching qml
That was already fixed a while ago.
** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1333317
Title:
Support click package template with C++ code launching qml
Status in qtcreator-plugin-ubuntu package in Ubuntu:
Fix Released
Bug description:
Current, in our Qt Creator, it only supports "App with QML extension
library" template. However, there is a need to compile an app to
executable, which launches QML modules like the following code:
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
qmlRegisterType<PieChart>("Charts", 1, 0, "PieChart");
QQuickView view;
view.setResizeMode(QQuickView::SizeRootObjectToView);
view.setSource(QUrl("qrc:///app.qml"));
view.show();
return app.exec();
}
I have seen that our messaging and dialer apps are using this kind of
structure too!
Thanks & best regards,
XiaoGuo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1333317/+subscriptions