[SailfishDevel] Main qml file not found when Deploying
Andrey Kozhevnikov
coderusinbox at gmail.com
Fri Mar 6 14:47:53 UTC 2015
Compiled and build project to rpm with no problems . Clean your build
folder and do a fresh build.
06.03.2015 01:03, Antonio Mancini пишет:
>
> This is the link to the .pro file on github
>
> https://github.com/BillyHalley/SailTris/blob/master/SailTris.pro
>
> Il gio mar 5 06:50:04 2015 GMT+0100, Andrey Kozhevnikov scrive:
> > show your pro file/link to github project.
> >
> > 05.03.2015 00:15, Antonio Mancini пишет:
> > > When deploying my application as an RPM package i have this error:
> > >
> > > [W] contextFactory:108 - Could not create scene graph context for
> > > device 'customcontext' - check that plugins are installed correctly in
> > > /usr/lib/qt5/plugins
> > >
> > > [D]
> > >
> QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62
> > > - Using Wayland-EGL
> > >
> > > [W] unknown:-1 - file:///usr/share/SailTris/qml/SailTris.qml: File not
> > > found
> > >
> > >
> > > The path is correct
> > > If i deploy copying binaries it works.
> > >
> > > I have this in the cpp file, and i think is here that is called that
> > > qml file:
> > >
> > > QScopedPointer<QGuiApplication> app(SailfishApp::application(argc,
> > > argv));
> > >
> > > QTranslator translator;
> > > translator.load("translation_" + QLocale::system().name(),
> > > "/usr/share/SailTris/i18n");
> > > app->installTranslator(&translator);
> > >
> > > QScopedPointer<QQuickView> view(SailfishApp::createView());
> > > view->setSource(SailfishApp::pathTo("qml/SailTris.qml"));
> > > view->show();
> > >
> > > return app->exec();
> > >
> > > I have this problem after i updated the sdk, i looked through the
> > > changes i made to the app, but nothing seem like to be causing this
> > > problem.
> > >
> > > Can someone help me?
> > >
> > >
> > > _______________________________________________
> > > SailfishOS.org Devel mailing list
> > > To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
> <mailto:devel-unsubscribe at lists.sailfishos.org>
> >
> >
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150306/b231bca9/attachment.html>
More information about the Devel
mailing list