[Php-qt-users] Re: Php-qt-users digest, Vol 1 #3 - 3 msgs
Status: Beta
Brought to you by:
tm243
From: Robert N. <nie...@me...> - 2006-01-01 05:15:06
|
php...@li... wrote: > Send Php-qt-users mailing list submissions to > php...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/php-qt-users > or, via email, send a message with subject or body 'help' to > php...@li... > > You can reach the person managing the list at > php...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Php-qt-users digest..." > > > Today's Topics: > > 1. Build issue with php 5.1.1 and Qt4 (Robert Niedosmialek) > 2. Re: Build issue with php 5.1.1 and Qt4 (Ferenc Veres) > 3. Re: Build issue with php 5.1.1 and Qt4 (Ferenc Veres) > > --__--__-- > > Message: 1 > Date: Sat, 31 Dec 2005 15:34:18 -0600 > From: Robert Niedosmialek <nie...@me...> > To: php...@li... > Subject: [Php-qt-users] Build issue with php 5.1.1 and Qt4 > > 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 > > > --__--__-- > > Message: 2 > Date: Sun, 01 Jan 2006 03:53:58 +0100 > From: Ferenc Veres <li...@ne...> > To: php...@li... > Subject: Re: [Php-qt-users] Build issue with php 5.1.1 and Qt4 > > 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 > > Thank you for the help. I have now been able to build the module completely and it works very well. There was one strange thing that happened when I ran some of the test scripts. Php reported when I ran the main.php from the t1 folder that it could not load the /usr/local/lib/php/extensions when the php 5.1.1 was compiled with a prefix of /usr/lib/php. I cannot find where this was set in the configure or make and I did verify the parameters I passed on the build to make sure I did not do anything wrong to. I solved the problem by creating the directory the module was asking for and then placed the php_qt.so into the folder. This seems to be only with this module as all of the others modules I have built for php are loaded from /usr/lib/php/extensions and they work fine. Very odd. On another note. Are you looking for any assistance with the progress of php_qt. I would love to help in any manor. Please let me know if there is anything I can so to help and thanks for your help. Regards, Robert Niedosmialek |