Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    qt/qml apps query /usr/bin

    Reply
    moodroid | # 1 | 2017-04-22, 10:41 | Report

    Hi,

    By copying the various bits from another app, I'm able to make my own app:
    - /usr/share/myapp directory with the various qml files in a qml directory and pages and cover directories
    - /usr/share/applications/myapp.desktop

    But I also seem to need a /usr/bin/myapp file which is currently a copy of the /usr/bin/originalapp file?

    Is this because the app I've copied has some c/c++ stuff in it, or do all apps need something in /usr/bin? And if so, is there a generic one that can be used? If not, how would I go about creating a basic one for myself?

    Thanks

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to moodroid For This Useful Post:
    juiceme

     
    coderus | # 2 | 2017-04-22, 11:24 | Report

    you can use Exec=sailfish-qml myapp inside your .desktop file without having binary in /usr/bin

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to coderus For This Useful Post:
    hhbbap, juiceme, moodroid, nieldk

     
    moodroid | # 3 | 2017-04-24, 08:44 | Report

    Thanks, coderus. That sorted it.
    The only extra thing I had to do was:
    pkcon install libsailfishapp-launcher

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to moodroid For This Useful Post:
    juiceme

     
vBulletin® Version 3.8.8
Normal Logout