[Qt-interest] Qt with PHP ?

Jason H scorp1us at yahoo.com
Mon Oct 24 19:29:28 CEST 2011


We need information on how Qt is being used.
As others have said, you can't. Your question doesn't even make sense. However, we can interpret it a couple ways.
    
1st possible way: You want to print a variable in Qt, like vardump does. Simply #include <QtDebug> and do "qDebug() << dasos;"
2nd Possible way: You want to use Qt on a webserver. Simply confure tour Qt binary to bea  CGI handler, and use the envuronment variables.
3rd possible way: You want to pass $dados to a Qt binary. I would use use the command line, and QCoreApplication::arguments() to take the varable's contents from the command line.
4th possible way: You want to pass $dados to a Qt binary. Write the varable to the process via a pipe and read it on the Qt application. 
 
That's all the ways I can think of interpreting your question.
 

From: Jean Richard Lima <jean at jeanrl.com.br>
To: qt-interest at qt.nokia.com
Sent: Monday, October 24, 2011 11:02 AM
Subject: [Qt-interest] Qt with PHP ?


How do I get the contents of a variable($dados) in a PHP script in Qt?
For example, the script looks like this:

<?php
$dados = "test";

var_dump($dados);
?>Thanks.

              Jean Richard Lima
        Consultor de Gestão e TIC
Software House de Projetos Específicos

_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111024/59fa84a6/attachment.html 


More information about the Qt-interest-old mailing list