Hi Robert,
Robert Niedosmialek wrote:
> /usr/bin/ld: cannot find -lQtGui
> collect2: ld returned 1 exit status
> make: *** [php_qt.la] Error 1
Do you use the public 0.0.1 release or the SVN one? Please fetch the
current one from the SVN (I think it can be built at this moment)
because there were a lot of fixes regarding these library paths. See the
mailing list archive from December for details. :-)
Try to use the switches described in the previous thread about this.
My current configure line is: (I hope this is the latest one.)
./configure --prefix=/usr/local/php511/
--with-php-config=/usr/local/php511/bin/php-config
--with-qtlib=/usr/lib/qt4 --with-php_qt=/usr/lib/qt4/include
(All these paths depend on your installation directory of php511 and
Qt4, obviously.)
This configure will not work with 0.0.1, please get the code from SVN.
> I am thrilled to see bindings for Php to Qt. This is a
> dream come true as I am a die hard php programmer. Thanks
Note, that this library is not ready yet. You can do this and that, but
I think it it is not yet ready for real projects. Of course you should
give it a try, the more testers the project has, the better it will be,
I think! :-) I have made some windows with the available widgets, worked
very well! There is no event handling yet. But there will be. :-)
Best regards,
Ferenc
--
A Microsoft Certified System Engineer is to information technology
as a McDonalds Certified Food Specialist is to the culinary arts.
|