Re: [Php-qt-users] PHP-Qt 0.0.3 released
Status: Beta
Brought to you by:
tm243
From: Thomas M. <tm...@ip...> - 2006-06-09 07:05:48
|
=46erenc Veres wrote on Freitag, 9. Juni 2006 00:19: > Hi all, > > Impressive changelog lists (including many interesting things)! With > slot handling, we can start to create real applications! :-D > > On the website I'd write "Download" as menu name instead "latest > release, Subversion". Ok, thank you. > I needed to add the /usr/lib64/qt to the search path of the configure > script, as always. ;-) done > Then compile error with "make" unfortunately, I tried both 0.0.3 and > current SVN. Last output lines: > > g++ -I. -I/home/lion/install/php-5.1.2/ext/php_qt -DPHP_ATOM_INC > -I/home/lion/install/php-5.1.2/ext/php_qt/include > -I/home/lion/install/php-5.1.2/ext/php_qt/main > -I/home/lion/install/php-5.1.2/ext/php_qt > -I/usr/local/php512/include/php -I/usr/local/php512/include/php/main > -I/usr/local/php512/include/php/TSRM > -I/usr/local/php512/include/php/Zend -I/usr/local/php512/include/php/ext > -I/usr/lib64/qt4/include/include -I/usr/lib64/qt4/include/QtGui > -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include -DHAVE_CONFIG_H > -c /home/lion/install/php-5.1.2/ext/php_qt/qt/text_related/qstring.cpp > -fPIC -DPIC -o qt/text_related/.libs/qstring.o > /home/lion/install/php-5.1.2/ext/php_qt/qt/text_related/qstring.cpp: In > function =E2=80=98void zif_QString_toInt(int, zval*, zval**, zval*, int)= =E2=80=99: > /home/lion/install/php-5.1.2/ext/php_qt/qt/text_related/qstring.cpp:2847: > error: cast from =E2=80=98long int*=E2=80=99 to =E2=80=98int=E2=80=99 los= es precision > make: *** [qt/text_related/qstring.lo] Error 1 > > (My configure line. I hope I got it right this time.) > > ./configure --with-php-config=3D/usr/local/php512/bin/php-config > --with-qtlib=3D/usr/lib64/qt4 --with-php_qt=3D/usr/lib64/qt4/include > > Any ideas welcomed. :-) I use a 64bit Mandriva distro with official Qt4 > libraries and own compiled php 5.1.2. It seems Qt returns doubled integers in QString::toInt() and PHP does not=20 handle it. I will fix it in svn. =2D-=20 Thomas |