PHP-Qt, the Qt Library with PHP5

Written by on December 3, 2005 in General - 7 Comments

PHP-Qt is an extension for PHP5 that aims to write software with the Qt Toolkit. It provides an object-oriented interface to the Qt4 Framework and allowes to write Qt applications in the PHP language.


The Qt-PHP project is maintained by Thomas Mönicke and Jean-Luc Gyger. You can find the Open Source Edition of Qt documentation here. And download Qt-PHP sources from Berlios. After you download the sources you may run the box2buttons.php test without problem.

7 Comments on "PHP-Qt, the Qt Library with PHP5"

  1. Mary October 18, 2007 at 5:27 pm · Reply

    Hi!, I dont know about Qt, I want to test for design GUI’s for my system.
    I need to know if Qt give me a GUI, with a palette components (for example) for design my GUI’s or I must it design on console mode?

  2. im December 29, 2007 at 10:48 pm · Reply

    There is a designer that can be used to develop the application in a visual mode. Of course, you can always extend it later using an IDE or the console.

  3. Adi June 12, 2008 at 8:29 am · Reply

    Hi does qt let you develp desktp apps with php?

  4. tim July 22, 2008 at 2:56 pm · Reply

    Adi, yes it does. It is very similar to PHP-GTK but much faster and has a better API. You can even create a design using a GUI like Qt Designer and then let it PHP-Qt parse it. You do not have to write anything! PHP-Qt will do it for you.

  5. Norman August 1, 2008 at 3:51 pm · Reply

    It’s really better than the PHP-GTK?
    But, its not easy to some people to compile the PHP-QT from the sources, and much more that are using win32 like me.
    Someone have compiled in win32?
    How its does and what I need?

  6. Amol February 11, 2009 at 12:08 pm · Reply

    I am facing problems during the installation of phpqt
    I have both Qt and LAMPP installed on my machine running on opensuse11.1
    Please help me with the installation process.

  7. wan July 17, 2010 at 8:41 am · Reply

    you have to install php5-cli package too.
    And it will be success~~!

Leave a Comment