Performing cross-platform calls to php from Qt5
-
I'm developing a Qt desktop GUI.
I need to be able to run:
php myWonderfulScript.php parameter
from the Qt app.php is available on the command line on my development computer, however it's unlikely to be available on the user's computer. I also need php5-curl installed...
Can I reliably distribute php .so/.a/.dll files with my Qt desktop application so it will run on Mac/Windows/Linux? (I know there are big licensing issues that arise in this situation and I will be sure to not steal anyones work)
I'm using Qt Creator 3.1.2 (based on Qt 5.3.1)
Many thanks for your help,
-
Hi and welcome to devnet,
Out of curiosity what does your php script do ? I might be simpler to translate it in C++ to avoid have to install PHP on each target.
-
"This":http://forums.devnetwork.net/viewtopic.php?t=10924 might help