This is the desktop file: [Desktop Entry]
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 // // To display the view, call "show()" (will show fullscreen on device). return SailfishApp::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 <coderusin...@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: > > import QtQuick 2.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 <coderusin...@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 to devel-unsubscr...@lists.sailfishos.org >> >> >> >> _______________________________________________ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to >> devel-unsubscr...@lists.sailfishos.org >> > > > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org > > > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org >
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org