From: Robert Niedosmialek <niedosmi@me...> - 2005-12-31 21:34:26
Can anyone help with a build problem? I have configured and compiled
Qt4. It is installed in /usr/lib/qt4. I have also compiled php 5.1.1 in
the /usr/lib/php. I have unpacked php-qt and have followed the
instructions in detail as how to install it. Everything goes very well
until I "make" and then I receive the following error.
/usr/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** [php_qt.la] Error 1
I have made sure the libQtGui.so is in my lib path, but I cannot get
around this problem. Could anyone help me with some idea as to why this
will not build? 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
From: Ferenc Veres <lion@ne...> - 2006-01-01 02:52:56
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.)
(All these paths depend on your installation directory of php511 and
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. :-)
A Microsoft Certified System Engineer is to information technology
as a McDonalds Certified Food Specialist is to the culinary arts.
From: Ferenc Veres <lion@ne...> - 2006-01-01 02:58:36
Actually the mentioned discussion is in the old archive:
But I think, you won't need that, the new version can find the libraries
much better than the 0.0.1. On my Mandriva Linux 2006 it works perfect.
Happy new year to you all! :-)
Get latest updates about Open Source Projects, Conferences and News.