<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
sorry, but i still can compile, deploy and run it without any
modifications in your code. Maybe you have no space left on device?<br>
<br>
<div class="moz-cite-prefix">10.03.2015 16:25, Antonio Mancini
пишет:<br>
</div>
<blockquote
cite="mid:CAAX4RD65=j=r-H9eLk1ed7wC8J3Q+tNRZwQjPrm7DXCujZQUFw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I managed to resolve the "main" qml issue, i moved
everything to another directory and changed names to follow
harbour standards but now it can't find other qml files, i
tried Chris's solution but it won't help<br>
I updated the source code on github: <a
moz-do-not-send="true"
href="https://github.com/BillyHalley/SailTris">https://github.com/BillyHalley/SailTris</a><br>
<br>
I still can "Deploy by Copying Binaries"<br>
But when i do "Deploy as RPM Package"<br>
I have this error:<br>
<br>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">[D]
QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62
- Using Wayland-EGL </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">[W]
QQmlImportDatabase::registerPluginTypes:1875 - Module
'Sailfish.Silica' does not contain a module identifier
directive - it cannot be protected from external
registrations.</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">[W]
unknown:7 - </span><a moz-do-not-send="true"><span
style="font-family:"Monospace";font-size:9pt;text-decoration:underline;color:rgb(20,20,190)">file:///usr/share/harbour-sailtris/qml/harbour-sailtris.qml:7:30</span></a><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">:
Type FirstPage unavailable </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">
initialPage: Component { FirstPage { } } </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">
^ </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">[W]
unknown:21 - </span><a moz-do-not-send="true"><span
style="font-family:"Monospace";font-size:9pt;text-decoration:underline;color:rgb(20,20,190)">file:///usr/share/harbour-sailtris/qml/pages/FirstPage.qml:21:5</span></a><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">:
Type Functions unavailable </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">
Functions {</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">
</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">
^ </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">[W]
unknown:-1 -
<a class="moz-txt-link-freetext" href="file:///usr/share/harbour-sailtris/qml/elements/Functions.qml">file:///usr/share/harbour-sailtris/qml/elements/Functions.qml</a>:
File not found </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:"Monospace";font-size:9pt;color:rgb(190,20,20)">[W]
QSGThreadedRenderLoop::handleExposure:882 -
QSGThreadedRenderLoop: expose event received for window
with invalid geometry.</span></p>
<br>
</div>
Sometimes instead of Functions.qml it can't find Dot.qml..<br>
<div><br>
Il lun mar 9 08:23:12 2015 GMT+0100, Chris Adams scrive:<br>
> Hi Antonio,<br>
><br>
> The files which are installed by an rpm package are
listed in the %files directive of the .spec file.<br>
> So, merely adding files to the .pro (eg in OTHER_FILES)
variables of the qmake project, and installing via INSTALLS,
is not enough. You also need to ensure that your .spec (or,
if you generate your .spec from a .yaml, then the .yaml) file
has the files listed appropriately.<br>
><br>
> eg:<br>
><br>
> <a moz-do-not-send="true" href="http://example.pro">example.pro</a>
contains:<br>
> // lines up here with target (lib or exe) information,
build switches, etc<br>
> OTHER_FILES += MyQmlType.qml<br>
> import.files += MyQmlType.qml<br>
> import.path = /path/to/import/dir<br>
> INSTALLS += import<br>
><br>
> %files<br>
> /path/to/import/dir/MyQmlType.qml<br>
><br>
> Note that harbour rules no doubt require some specific
application-specific import directory to be defined and used
by your app.<br>
><br>
> Kind regards,<br>
> Chris.<br>
><br>
> ________________________________<br>
> From: <a moz-do-not-send="true"
href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a>
[<a moz-do-not-send="true"
href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a>]
on behalf of Antonio Mancini [<a moz-do-not-send="true"
href="mailto:ziobilly94@gmail.com">ziobilly94@gmail.com</a>]<br>
> Sent: Saturday, March 07, 2015 2:26 AM<br>
> To: Sailfish OS Developers<br>
> Subject: Re: [SailfishDevel] Main qml file not found when
Deploying<br>
><br>
> I tried but i still can't build, i can create an rpm but
it seems that the rpm doesn't copy the files on the device
while installing.<br>
> I also tried installing previous version of SDK but it
didn't work.<br>
><br>
> 2015-03-06 15:47 GMT+01:00 Andrey Kozhevnikov <<a
moz-do-not-send="true" href="mailto:coderusinbox@gmail.com">coderusinbox@gmail.com</a><mailto:<a
moz-do-not-send="true" href="mailto:coderusinbox@gmail.com">coderusinbox@gmail.com</a>>>:<br>
> Compiled and build project to rpm with no problems .
Clean your build folder and do a fresh build.<br>
><br>
> 06.03.2015 01:03, Antonio Mancini пишет:<br>
><br>
> This is the link to the .pro file on github<br>
><br>
> <a moz-do-not-send="true"
href="https://github.com/BillyHalley/SailTris/blob/master/SailTris.pro">https://github.com/BillyHalley/SailTris/blob/master/SailTris.pro</a><br>
><br>
> Il gio mar 5 06:50:04 2015 GMT+0100, Andrey Kozhevnikov
scrive:<br>
> > show your pro file/link to github project.<br>
> ><br>
> > 05.03.2015 00:15, Antonio Mancini пишет:<br>
> > > When deploying my application as an RPM package
i have this error:<br>
> > ><br>
> > > [W] contextFactory:108 - Could not create scene
graph context for<br>
> > > device 'customcontext' - check that plugins are
installed correctly in<br>
> > > /usr/lib/qt5/plugins<br>
> > ><br>
> > > [D]<br>
> > >
QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62<br>
> > > - Using Wayland-EGL<br>
> > ><br>
> > > [W] unknown:-1 -
<a class="moz-txt-link-freetext" href="file:///usr/share/SailTris/qml/SailTris.qml">file:///usr/share/SailTris/qml/SailTris.qml</a>: File not<br>
> > > found<br>
> > ><br>
> > ><br>
> > > The path is correct<br>
> > > If i deploy copying binaries it works.<br>
> > ><br>
> > > I have this in the cpp file, and i think is
here that is called that<br>
> > > qml file:<br>
> > ><br>
> > > QScopedPointer<QGuiApplication>
app(SailfishApp::application(argc,<br>
> > > argv));<br>
> > ><br>
> > > QTranslator translator;<br>
> > > translator.load("translation_" +
QLocale::system().name(),<br>
> > >
"/usr/share/SailTris/i18n");<br>
> > > app->installTranslator(&translator);<br>
> > ><br>
> > > QScopedPointer<QQuickView>
view(SailfishApp::createView());<br>
> > >
view->setSource(SailfishApp::pathTo("qml/SailTris.qml"));<br>
> > > view->show();<br>
> > ><br>
> > > return app->exec();<br>
> > ><br>
> > > I have this problem after i updated the sdk, i
looked through the<br>
> > > changes i made to the app, but nothing seem
like to be causing this<br>
> > > problem.<br>
> > ><br>
> > > Can someone help me?<br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > SailfishOS.org Devel mailing list<br>
> > > To unsubscribe, please send a mail to <a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><mailto:<a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a>><br>
> ><br>
> ><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> SailfishOS.org Devel mailing list<br>
> To unsubscribe, please send a mail to <a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><mailto:<a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a>><br>
><br>
><br>
> _______________________________________________<br>
> SailfishOS.org Devel mailing list<br>
> To unsubscribe, please send a mail to <a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><mailto:<a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a>><br>
><br>
></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>