php-qt-users Mailing List for PHP-Qt (Page 9)
Status: Beta
Brought to you by:
tm243
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(40) |
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(4) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(11) |
Nov
(2) |
Dec
(1) |
2007 |
Jan
(10) |
Feb
(11) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(16) |
Aug
(4) |
Sep
(19) |
Oct
|
Nov
(1) |
Dec
(3) |
2008 |
Jan
(11) |
Feb
(16) |
Mar
(12) |
Apr
(2) |
May
|
Jun
(7) |
Jul
(17) |
Aug
(5) |
Sep
(12) |
Oct
(12) |
Nov
(24) |
Dec
(38) |
2009 |
Jan
(9) |
Feb
(10) |
Mar
(12) |
Apr
(22) |
May
(45) |
Jun
(25) |
Jul
(32) |
Aug
(10) |
Sep
(6) |
Oct
|
Nov
(2) |
Dec
(8) |
2010 |
Jan
(4) |
Feb
(9) |
Mar
(5) |
Apr
(1) |
May
|
Jun
|
Jul
(5) |
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark C. <ma...@re...> - 2006-10-08 21:51:59
|
On Monday 09 October 2006 00:21, Katrina Niolet wrote: > > Has anyone got any useful scripts they could share ? > > And related, is there any interest in some kind of script repository ? > > Sounds like a good idea to me. We can probably set up some sort of > repository on PHP-Qt.org or IQuiP.org I feel the more that there are usable scripts available the sooner folks will learn about and start to use php-qt, and hopefully bring in more developers to help speed up the devel process. > (IQuiP is kind of a sister > project of PHP-Qt which my company has been working on and expects > to release in January. More details to come...) Is it somehow related to php-qt ? > I should be able to throw together a basic php app to handle a web > based repository if needed. Ideally using subversion as a backend, and a wiki for easy docs. > I might would need a voulentier to maintain it, though. I'd be happy to put in some time. I've got plenty of LAMP experience. > --sent from my BlackBerry 8100-- Nice one :-) --markc |
From: <kn...@il...> - 2006-10-08 14:21:19
|
U291bmRzIGxpa2UgYSBnb29kIGlkZWEgdG8gbWUuIFdlIGNhbiBwcm9iYWJseSBzZXQgdXAgc29t ZSBzb3J0IG9mIHJlcG9zaXRvcnkgb24gUEhQLVF0Lm9yZyBvciBJUXVpUC5vcmcgKElRdWlQIGlz IGtpbmQgb2YgYSBzaXN0ZXIgcHJvamVjdCBvZiBQSFAtUXQgd2hpY2ggbXkgY29tcGFueSBoYXMg YmVlbiB3b3JraW5nIG9uIGFuZCBleHBlY3RzIHRvIHJlbGVhc2UgaW4gSmFudWFyeS4gTW9yZSBk ZXRhaWxzIHRvIGNvbWUuLi4pDQoNCkkgc2hvdWxkIGJlIGFibGUgdG8gdGhyb3cgdG9nZXRoZXIg YSBiYXNpYyBwaHAgYXBwIHRvIGhhbmRsZSBhIHdlYiBiYXNlZCByZXBvc2l0b3J5IGlmIG5lZWRl ZC4gSSBtaWdodCB3b3VsZCBuZWVkIGEgdm91bGVudGllciB0byBtYWludGFpbiBpdCwgdGhvdWdo Lg0KDQotLXNlbnQgZnJvbSBteSBCbGFja0JlcnJ5IDgxMDAtLQ0KS2F0cmluYSBOaW9sZXQNCmtu aW9sZXRAaWxkaWluYy5jb20NCg0KDQogIA0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0K RnJvbTogTWFyayBDb25zdGFibGUgPG1hcmtjQHJlbnRhLm5ldD4NCkRhdGU6IFN1biwgOCBPY3Qg MjAwNiAxNzowNTo0NiANClRvOnBocC1xdC11c2Vyc0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNClN1 YmplY3Q6IFtQaHAtcXQtdXNlcnNdIFNjcmlwdCByZXBvID8NCg0KSGFzIGFueW9uZSBnb3QgYW55 IHVzZWZ1bCBzY3JpcHRzIHRoZXkgY291bGQgc2hhcmUgPw0KDQpBbmQgcmVsYXRlZCwgaXMgdGhl cmUgYW55IGludGVyZXN0IGluIHNvbWUga2luZCBvZiBzY3JpcHQgcmVwb3NpdG9yeSA/DQoNCihh IHRyYWMgYmFzZWQgaW50ZXJmYWNlIHdvdWxkIGJlIGV4Y2VsbGVudCBidXQgSSBkb24ndCB1c2Ug cHl0aG9uKQ0KDQotLW1hcmtjDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NClRha2UgU3VydmV5cy4gRWFy biBDYXNoLiBJbmZsdWVuY2UgdGhlIEZ1dHVyZSBvZiBJVA0KSm9pbiBTb3VyY2VGb3JnZS5uZXQn cyBUZWNoc2F5IHBhbmVsIGFuZCB5b3UnbGwgZ2V0IHRoZSBjaGFuY2UgdG8gc2hhcmUgeW91cg0K b3BpbmlvbnMgb24gSVQgJiBidXNpbmVzcyB0b3BpY3MgdGhyb3VnaCBicmllZiBzdXJ2ZXlzIC0t IGFuZCBlYXJuIGNhc2gNCmh0dHA6Ly93d3cudGVjaHNheS5jb20vZGVmYXVsdC5waHA/cGFnZT1q b2luLnBocCZwPXNvdXJjZWZvcmdlJkNJRD1ERVZERVYNCl9fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fDQpQaHAtcXQtdXNlcnMgbWFpbGluZyBsaXN0DQpQaHAt cXQtdXNlcnNAbGlzdHMuc291cmNlZm9yZ2UubmV0DQpodHRwczovL2xpc3RzLnNvdXJjZWZvcmdl Lm5ldC9saXN0cy9saXN0aW5mby9waHAtcXQtdXNlcnMNCg== |
From: Mark C. <ma...@re...> - 2006-10-08 07:05:53
|
Has anyone got any useful scripts they could share ? And related, is there any interest in some kind of script repository ? (a trac based interface would be excellent but I don't use python) --markc |
From: Mark C. <ma...@re...> - 2006-10-07 00:29:06
|
On Saturday 07 October 2006 09:49, Ferenc Veres wrote: > Mark Constable wrote, On 2006-10-07 01:35: > > Just a quick note to say that an install in my edgy partition > > did not require any special tweaking. I just checked out the > > Is that a 32bit system? No, just a 32 bit install, but on a AMD64 2800+. > Mandriva 2007 x86_64 will be released in 1-2 days, I hope that will give > me more chance to compile. :-) Here's hoping, good luck. FWIW the Gentoo (32bit or 64bit) doesn't seem to do anything complicated (I sometimes glean compiling tricks from Gentoo ebuilds)... http://www.gentoo-portage.com/dev-php5/php-qt --markc |
From: Ferenc V. <li...@ne...> - 2006-10-06 23:42:01
|
Hi, Mark Constable wrote, On 2006-10-07 01:35: > Just a quick note to say that an install in my edgy partition > did not require any special tweaking. I just checked out the Is that a 32bit system? Mandriva 2007 x86_64 will be released in 1-2 days, I hope that will give me more chance to compile. :-) Thanks, Ferenc |
From: Mark C. <ma...@re...> - 2006-10-06 23:35:31
|
Just a quick note to say that an install in my edgy partition did not require any special tweaking. I just checked out the latest svn, cd'd into the directory, did a phpize and kdeize, then configure ; make ; make install and the examples all ran, except for t7. Thanks for php-qt, looking forward to updates :) --markc |
From: Thomas M. <tho...@kd...> - 2006-08-24 22:53:08
|
Hi, the latest revision uses non-debug Qt! -- Thomas |
From: yarco <ya...@gm...> - 2006-07-25 12:54:15
|
From: Thomas M. <tho...@kd...> - 2006-07-22 10:27:32
|
Hi, PHP-Qt's build system has been extended by parts of KDE's build system, I hope we will get a better auto-configuration with it. new usage: At first it is neccessary to check your environment for compiling. To do that change into the php-5.1xxx/ext/php_qt directory and run phpize, kdeize and configure: /usr/local/php511/bin/phpize ./kdeize ./configure \ --enable-php_qt \ --with-qt-includes=/usr/lib/qt4/include \ --with-qt-libraries=/usr/lib/qt4 \ --with-php-config=/usr/local/php511/bin/php-config \ If --with-qt-includes and --with-qt-config are omitted, configure will try to find files in default or standard pathes You will have to compile Qt with debug symbols, e.g. libqt4-debug and libqt4-debug-dev for Debian. Automake should be new, 1.53 or later. Regards, Thomas |
From: Thomas M. <tm...@ip...> - 2006-07-21 20:29:38
|
Hi, PHP-Qt's build system has been extended by parts of KDE's build system, I hope we will get a better auto-configuration with it. new usage: At first it is neccessary to check your environment for compiling. To do that change into the php-5.1xxx/ext/php_qt directory and run phpize, kdeize and configure: /usr/local/php511/bin/phpize ./kdeize ./configure \ --enable-php_qt \ --with-qt-includes=/usr/lib/qt4/include \ --with-qt-libraries=/usr/lib/qt4 \ --with-php-config=/usr/local/php511/bin/php-config \ If --with-qt-includes and --with-qt-config are omitted, configure will try to find files in default or standard pathes You will have to compile Qt with debug symbols, e.g. libqt4-debug and libqt4-debug-dev for Debian. Automake should be new, 1.53 or later. Regards, Thomas |
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 |
From: Ferenc V. <li...@ne...> - 2006-06-08 22:19:36
|
Re, Ferenc Veres wrote: > I needed to add the /usr/lib64/qt to the search path of the configure > script, as always. ;-) SEARCH_PATH="/usr/local /usr /usr/lib/qt4 /usr/lib64/qt4" Sorry, typo in my mail above! This is the right line which worked for configure. "make" runs to error. Thanks, Ferenc |
From: Ferenc V. <li...@ne...> - 2006-06-08 22:17:05
|
Hi all, Impressive changelog lists (including many interesting things)! With=20 slot handling, we can start to create real applications! :-D On the website I'd write "Download" as menu name instead "latest=20 release, Subversion". I needed to add the /usr/lib64/qt to the search path of the configure=20 script, as always. ;-) Then compile error with "make" unfortunately, I tried both 0.0.3 and=20 current SVN. Last output lines: g++ -I. -I/home/lion/install/php-5.1.2/ext/php_qt -DPHP_ATOM_INC=20 -I/home/lion/install/php-5.1.2/ext/php_qt/include=20 -I/home/lion/install/php-5.1.2/ext/php_qt/main=20 -I/home/lion/install/php-5.1.2/ext/php_qt=20 -I/usr/local/php512/include/php -I/usr/local/php512/include/php/main=20 -I/usr/local/php512/include/php/TSRM=20 -I/usr/local/php512/include/php/Zend -I/usr/local/php512/include/php/ext=20 -I/usr/lib64/qt4/include/include -I/usr/lib64/qt4/include/QtGui=20 -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include -DHAVE_CONFIG_H=20 -c /home/lion/install/php-5.1.2/ext/php_qt/qt/text_related/qstring.cpp=20 -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=20 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:= =20 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=20 --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=20 libraries and own compiled php 5.1.2. Many thanks, Ferenc |
From: Thomas M. <tm...@ip...> - 2006-06-08 15:34:29
|
Hi, The third release of PHP-Qt is now available. It contains the first 7 tutorials and an example application. Custom Slots/Signals and a better error- and argument handling were implemented and the implementation of all classes are generated with kalyptus. Changelog: * tutorial 7 and an example application * automatically conversion of PHP strings into QStrings in method calls * function 'qobject_cast' implemented * handling of all allowed arguments in methods, with fast lookup table for inheritance * Signals-Slots and custom Signals-Slots implemented * better error handling for debugging * #ifdef statements to exclude unimplemented classes to compile safely * kalyptus extension rewritten -- Thomas |
From: Thomas M. <tm...@ip...> - 2006-05-19 08:29:23
|
Hi, I added the 7th tutorial and a calculator to the svn repository. These examples shows how Signals/Slots are working together with php. Take a look into calculator.php, you will find the way how to define custom Slots. The calculator is the first real application written in php-qt. -- Thomas |
From: Thomas M. <tm...@ip...> - 2006-05-08 23:33:00
|
Hi, We can define our own slots, at the moment with integer or without any arguments. See this modification of the 6th tutorial: class LCDRange extends QWidget { var $lcd; var $slider; var $layout; var $slots = array("test(int)", "mySlot(int)"); function __construct(){ ... function mySlot($id){ echo "mySlot ".$id."\n"; $this->lcd->display($id); } function test($id){ } ... Available in the subversion repository. I would be happy if someone could test it. -- Thomas |
From: Thomas M. <tm...@ip...> - 2006-01-30 18:01:52
|
Hi Robbie, > 51: error: 'zend_update_property_bool' was not declared in this scope Sounds like your build environment has the wrong php header files, maybe php4? Please check the pathes in your makefile. If that is the case you can try to omit the --prefix option. If you do so please consider running 'make clean' and phpize again: /usr/local/php-5.1.1/bin/phpize (please check this path) ./configure --with-qtlib=/usr/local/Trolltech/Qt-4.1.0/lib --with-php_qt=/usr/local/Trolltech/Qt-4.1.0/include make clean make make install -- Thomas |
From: Robbie De M. <rob...@di...> - 2006-01-30 17:26:20
|
I have=20 =20 PHP: PHP 5.1.1-Debian-0.1~breezy1 (cli) (built: Dec 7 2005 09:43:14) (Debian GNU/Linux) QT: Using Qt version 4.1.0 in /usr/local/Trolltech/Qt-4.1.0/lib Php_qt: todays version from SVN =20 Configure command: ./configure --enable-php_qt --prefix=3D/usr/include/php5 --with-qtlib=3D/usr/local/Trolltech/Qt-4.1.0/lib --with-php_qt=3D/usr/local/Trolltech/Qt-4.1.0/include =20 But I still can't compile php-qt. I get following error during the make: =20 g++ -I. -I/usr/local/php-5.1.1/ext/php_qt -DPHP_ATOM_INC -I/usr/local/php-5.1.1/ext/php_qt/include -I/usr/local/php-5.1.1/ext/php_qt/main -I/usr/local/php-5.1.1/ext/php_qt -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/qt4/include -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -DHAVE_CONFIG_H -c /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp -fPIC -DPIC -o qt/abstract_widgets/.libs/qabstractslider.o /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: In function 'void zif_QAbstractSlider_setInvertedAppearance(int, zval*, zval*, int)': /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: 40: error: 'zend_update_property_bool' was not declared in this scope /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: In function 'void zif_QAbstractSlider_setInvertedControls(int, zval*, zval*, int)': /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: 41: error: 'zend_update_property_bool' was not declared in this scope /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: In function 'void zif_QAbstractSlider_setSliderDown(int, zval*, zval*, int)': /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: 49: error: 'zend_update_property_bool' was not declared in this scope /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: In function 'void zif_QAbstractSlider_setTracking(int, zval*, zval*, int)': /usr/local/php-5.1.1/ext/php_qt/qt/abstract_widgets/qabstractslider.cpp: 51: error: 'zend_update_property_bool' was not declared in this scope make: *** [qt/abstract_widgets/qabstractslider.lo] Error 1 =20 =20 /Robbie |
From: Thomas M. <tm...@ip...> - 2006-01-23 20:48:34
|
Hi, The second release of PHP-Qt is now available, but it is really alpha software and in a prototype stage. The first 6 tutorials from Qt documentation are working and we can see how it grows. This tutorials are ported to PHP-Qt and are available in the tarball. The changes: * a lot of new classes added * kalyptus extension written * multiple inheritance added * method overloading added * tutorials (1-6) added * UTF-8/UTF-16 support prepared * objects are stored in a way that ensures safety Thanks to all who helped me! -- Thomas |
From: Thomas M. <tm...@ip...> - 2006-01-21 12:43:45
|
I fixed that problem. QObjects are stored in a way that ensures safety. You should be able to add every QObject you want. Without any tricks ;-) -- Thomas |
From: Thomas M. <tm...@ip...> - 2006-01-21 08:43:37
|
Ferenc Veres wrote on Freitag, 20. Januar 2006 23:46: > I'll have my input data in utf-8, so I think fromUtf8 could be used, but > currently I cannot call that method on QString. Will it be implemented > as static method like the C++? (If yes, I think I will need an example > on how to call. :-) ) we could make a configure option '--enable-unicode' or alike for providing unicode strings to the underlying php system. So a echo $myQString; would echo the unicode string instead of the ASCII string. -- Thomas |
From: Ferenc V. <li...@ne...> - 2006-01-20 22:46:21
|
Hi, Thanks for the answers! Thomas Moenicke wrote: > Ferenc Veres wrote on Dienstag, 17. Januar 2006 02:12: >=20 >>Then what is the input encoding?=20 .. > Trolls wrote: > "Constructs a string initialized with the ASCII string str." > And next > "str is converted to Unicode using fromAscii()." I did some tests, with Tutorial 1 in both PHP_QT and C++, and I think it can accept iso-8859-1 encoded characters too. Not only the first 127 ASCII characters display right on the Tutorial 1 button, but if you use 127 to 255 byte values, they display like those byte codes look in iso-8859-1 character set! (latin1) Fine. Not useful for Hungarian, but an acceptable extra feature. ;-) > Lets finish QString and test all functions there. All I have seen in ph= p=20 > internals stores strings binary. Maybe, we have luck. For example entering "=C5=B1" in iso-8859-2 edited source code will displ= ay "=C3=BB" on a button, as that is the same BYTE VALUE in iso-8859-1. It's okay. I just needed to know, it expects Latin1 characters. Now I can also test toUtf8(). :-) > We will see. There are > toAscii() > toLatin1 > toUtf8 My test results confirm that everything is alright! ;-) From tests/unicode.php, changing the input string to > 127 characters, ->toUtf8() displays characters right on my Konsole, so I think, the latin1 to utf-8 conversion is done. (Of course if I edit in Latin1 or Latin2, I can see different characters on the same byte code, but both the characters display as their latin1 value on the button label or console. KWrite is a very good editor to test this.) Printing the string with echo, prints binary dirt, that's also correct, because the byte sequence of the latin-1 characters have no meaning if for my utf-8 console. Displaying on and inside widgets, will be up to Qt, when we can pass QString to them. I'll have my input data in utf-8, so I think fromUtf8 could be used, but currently I cannot call that method on QString. Will it be implemented as static method like the C++? (If yes, I think I will need an example on how to call. :-) ) Many thanks and keep up the good work! ;-) Ferenc ps: may I report problems with any widgets appearing in the source? If yes, then I think QLabel is completely broken. :-) |
From: Ferenc V. <li...@ne...> - 2006-01-20 21:36:00
|
Hi all, Thomas Moenicke wrote: > > It runs if I create the Slider but omit it from the layout. > > /* LCD only */ > I checked out the latest version and runs perfect with adding QLineEdit and QPushButton controls to the grid. Great! :-) In my code I have public arrays for all those controls. In tutorial 6, I think the LCDRange() has no public class member variable assigned. (Same in C++ original tutorial.) I don't know if this difference causes changing the line in t6/main.php: $this->grid->addWidget(new QPushButton("a",$this), $row, $column, 0); or $this->grid->addWidget(new QLineEdit("a",$this), $row, $column, 0); to segfault. (Garbage collector kills the referenced QLineEdit?) (I have the same controls in my program and they work well. Anyway, I don't think anyone would create a control without some way to access it (i.e. a class member object). Then I just wonder why the original T6 works. :-) ) Ferenc |
From: Thomas M. <tm...@ip...> - 2006-01-20 16:58:27
|
piotr mali=C5=84ski wrote on Freitag, 20. Januar 2006 17:41: > In some lines in the configure there is: > qt/classes/qpainter.cpp \TAB HERE (or space) > the TAB has to be removed.... kate even highlights the \ in different col= or > :) I fixed that yesterday ;-) Updating your svn copy should help, then run php= ize=20 again. > second thing is -laudio. I still have problem with it. If -laudio flag > is set in configure it will die - "can't create executables". When I > remove it it compiles and work :) Is it something from QT? I copied it from the Makefile generated by qmake. I know this way is not ve= ry=20 specific. Hope I will have the time to write a more specific automake file. =2D-=20 Thomas |
From: <rik...@gm...> - 2006-01-20 16:41:53
|
In some lines in the configure there is: qt/classes/qpainter.cpp \TAB HERE (or space) the TAB has to be removed.... kate even highlights the \ in different color= :) second thing is -laudio. I still have problem with it. If -laudio flag is set in configure it will die - "can't create executables". When I remove it it compiles and work :) Is it something from QT? |