[SailfishDevel] App won't start
Andrey Kozhevnikov
coderusinbox at gmail.com
Sat Mar 14 20:30:10 UTC 2015
you can try to restart lipstick only
15.03.2015 01:28, Peter Pykäläinen пишет:
> Yeah, that's what I thought too :)
> Just too keen on my uptime!
>
>
> // Peter Pykäläinen
>
> On 14 March 2015 at 22:23, Andrey Kozhevnikov <coderusinbox at gmail.com
> <mailto:coderusinbox at gmail.com>> wrote:
>
> Looks okay, ... if pro file did not touched also, your phone
> probably needs a reboot :)
>
> 15.03.2015 01:18, Peter Pykäläinen пишет:
>> This is the desktop file:
>>
>> [DesktopEntry]
>> Type=Application
>> X-Nemo-Application-Type=silica-qt5
>> Icon=harbour-hextrap
>> Exec=harbour-hextrap
>> Name=Hex Trap
>> # translation example:
>> # your app name in German locale (de)
>> Name[de]=harbour-hextrap
>>
>> This is the main.cpp:
>>
>> #include <sailfishapp.h>
>>
>>
>>
>>
>> int main(int argc, char *argv[])
>> {
>> // SailfishApp::main() will display "qml/template.qml", if you need more
>> // control over initialization, you can use:
>> //
>> // - SailfishApp::application(int, char *[]) to get the QGuiApplication *
>> // - SailfishApp::createView() to get a new QQuickView * instance
>> // - SailfishApp::pathTo(QString) to get a QUrl to a resource file<
>> /span>
>> // //Todisplaytheview,call"show()"(willshowfullscreenon device).
>> returnSailfishApp::main(argc,argv); }
>> spec and yaml -files I have not touched, they are in their defaults.
>>
>> Sorry this app is not it github
>>
>>
>>
>> // Peter Pykäläinen
>>
>> On 14 March 2015 at 22:03, Andrey Kozhevnikov
>> <coderusinbox at gmail.com <mailto:coderusinbox at gmail.com>> wrote:
>>
>> show content of desktop file, main.cpp and spec/yaml also,
>> but it will better to see at whole project tree on github or
>> so, if your application is opensource.
>>
>> 15.03.2015 00:58, Peter Pykäläinen пишет:
>>> Hi,
>>>
>>> the app is pure QML app, nothing to it.
>>> Main QML is like this:
>>>
>>> importQtQuick2.0
>>> import Sailfish.Silica 1.0
>>> import "pages"
>>> ApplicationWindow
>>> {
>>> property bool isScramble: false;
>>> property bool isGameOn: false;
>>> property bool isMuted: false
>>> property int score: 0;
>>> property int hexCount: 0
>>> initialPage: Component { Game { } }
>>> cover: Qt.resolvedUrl("cover/CoverPage.qml")
>>> }
>>> I have the same kind of setup in every other app that I've done, and they work just fine.
>>>
>>>
>>>
>>> // Peter Pykäläinen
>>>
>>> On 14 March 2015 at 21:34, Andrey Kozhevnikov
>>> <coderusinbox at gmail.com <mailto:coderusinbox at gmail.com>> wrote:
>>>
>>> Hello,
>>>
>>> You know, if you want to get help you need to show at
>>> least something and give more details about your
>>> application :)
>>>
>>> 15.03.2015 00:11, Peter Pykäläinen пишет:
>>>> Hi,
>>>>
>>>> I have a strange problem.
>>>> I am developing an app and it works fine when launched
>>>> from QtCreator or terminal.
>>>> But when trying to launch it by tapping the app icon,
>>>> it starts, stays on the loading screen and then after a
>>>> while dies.
>>>>
>>>> Anyone else had similar issues?
>>>>
>>>> // Peter Pykäläinen
>>>>
>>>>
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail todevel-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
>>> <mailto:devel-unsubscribe at lists.sailfishos.org>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail todevel-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
>> <mailto:devel-unsubscribe at lists.sailfishos.org>
>>
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail todevel-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
> <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/20150315/a63a6a60/attachment-0001.html>
More information about the Devel
mailing list