Menu

Standalone executable

Anonymous
2016-04-22
2016-06-06
  • Anonymous

    Anonymous - 2016-04-22

    Stefan,

    Great program. It has been an incredible useful tool for GUI development for a number of projects.

    Now that I've got a great GUI and I like how it interacts with my USB serial device, is there a way to make my script a standalone program. Ideally the user would just click on some icon and the GUI would start.

    I've found out how to make sce files and that's very close but it would be awesome if all the run-time files could somehow just be compiled into an exe. This prevents things from being cross-platform though, I am sure.

    Thanks,
    Andrew

     
  • Stefan Zieker

    Stefan Zieker - 2016-04-22

    Hi Andrew,

    If you create a scez (not sce) file then alle your files are in on (zipped) file. If you double click this scez file on a system with an installed ScriptCommunicator your script(s) will be started.

    PS: On Linux and Mac you have to set the scez file association manually. On windows the installer does this for you.

    Best regards,
    Stefan

     
  • Anonymous

    Anonymous - 2016-04-22

    Hi Stefan,

    Thanks. Yes, I was aware of the the sce and scez capabilities and they are great. What I am looking for is literally a .exe file and whatever associated Qt or ScriptCommunicator libraries that are required. No ScriptCommunicator installation is required.

    My audience isn't particularly tech-savvy and when I tell them to download and install ScriptCommunicator I get a lot of funny looks and skepticism.

    Thanks,
    Andrew

     
  • Stefan Zieker

    Stefan Zieker - 2016-04-22

    Hi Andrew,

    maybe you have a look at this thread: https://sourceforge.net/p/scriptcommunicator/discussion/usercontributions/thread/aa6562b1

    Best regards,
    Stefan

     
    • Anonymous

      Anonymous - 2016-06-06

      Hi Stefan,

      I tried the solution offerred by Pier Andrea in that thread and though the concept is exactly what I'm looking for I get an error complaining that various dll's aren't installed. I realize this goes outside of the basic functionality of ScriptCommunicator but might you know how to get around / address this issue?

      Thanks,
      Andrew

       
  • Anonymous

    Anonymous - 2016-06-06

    Nevermind. Got it figured out! All the DLLs and the qt.conf need to be in the Runtime folder and the plugins directory needs to be there too. A handful of DLLs (those shown in Pier's post that you linked to) also need ot be in the root directory.

     
  • Stefan Zieker

    Stefan Zieker - 2016-06-06

    :-)

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.