Skip to content
  • 0 Votes
    9 Posts
    2k Views
    JonBJ

    @Amirhos
    Unfortunately this is difficult, especially under Windows. If, for whatever reason, the third-party app is buffering its output at its own side then you cannot force it down the pipe to your parent, it depends how the code is written at their side....

  • 0 Votes
    2 Posts
    2k Views
    Y

    It may save other time.

    Call below function from installer.qs for creating *.desktop file

    you can call prototype by this. desktopFileCreateOnLinux() from any function in side component script.

    Below script will create the two place *.desktop file.

    inside the @TargetDir@/ inside ~/.local/share/applications/ (it will help while searching from Show application).

    prototype definition:

    Component.prototype.desktopFileCreateOnLinux = function() { if ((systemInfo.kernelType === "linux") ||(systemInfo.kernelType === "Linux")) { var dir = installer.value("TargetDir"); component.addOperation("CreateDesktopEntry", "Squidstat.desktop", "Type=Application\nName=Squidstat\nExec=\'"+dir+"/SquidStat.sh\'\nGenericName=The IDE of choice for Squidstat handle.\nIcon="+dir+"/Squidstat.png\nTerminal=false\nCategories=IDE;Qt;"); component.addOperation("CreateDesktopEntry", "@TargetDir@/Squidstat.desktop", "Type=Application\nName=Squidstat\nExec=\'"+dir+"/SquidStat.sh\'\nGenericName=The IDE of choice for Squidstat handle.\nIcon="+dir+"/Squidstat.png\nTerminal=false\nCategories=IDE;Qt;"); } }
  • 0 Votes
    15 Posts
    2k Views
    Y

    @SGaist Thank you inform about me QtSingleApplication class. I will modify code and use QtSingleApplication.

  • 0 Votes
    15 Posts
    10k Views
    SGaistS

    @Mark81 Yes both the Hello World and content of the variable were shown. Again it's on OS X with a recent version of bash.

  • 0 Votes
    2 Posts
    1k Views
    M

    Hi,

    The script works only if the Qt libraries are in the same directory of the executable.
    Move the .so files from qtlibs to the directory where the script and the executable are.

  • 0 Votes
    2 Posts
    5k Views
    shavS

    Hi,

    As I know you can't execute any commands or shell-script on the iOS from you application on official devices. Because security policy doesn't allowing you to do this. Application can't work with any datas not from application folder. If you need something to be execute you can try to copy shell script into application folder and then execute it.

    Also I recommend you read Apple documentation about certificate and how it works on iOS platform. In general, when you build your app and install it to official devices your application must be subscribe using special certificate which you need to receive from Apple (Apple iOS Developer program). If your application will not be subscribe with this certificate other people can't install your application and your application not be approve in App Store.

    Other link:

    App Store Review Guidelines

    P.S. From your post I understand you are using jailbreak device, right? If so I recommend to you don't use it. Because on the official device it couldn't work.
    P.S.S. iOS and OS X application can't execute any third-part processes and script. Because certificate will block all third-part calls. But if you don't need to post you app to App Store you could skip Code sign of your app (I've use it only on OS X, on iOS you need special certificate).