php-qt-users Mailing List for PHP-Qt (Page 8)
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: Nixen N. <tov...@gm...> - 2007-02-25 14:06:54
|
Hello I'd compiled php_qt under Linux. But I wanna use this extension for my PHP in Windows as DLL . I'm a dilettante at this OS. Could you tell me which compilator I must use and will "phpize" be there? sorry for my bad English, nxn |
From: Thomas M. <tm...@ph...> - 2007-02-22 07:22:54
|
Hi Carlo, can you find any of these files on your system?: libQtCore.so libQtCore.so.4 libQtCore.so.4.2 libQtCore.so.4.2.2 Usually they should be in /usr/local/Trolltech/Qt-4.2.2/lib for you. If yes, just send me your generated trunk/build/smoke/qt/qtguess.pl file. On Thursday, 22. February 2007 02:57, Carlo Cabanilla wrote: > Hi, I'm having trouble compiling php-qt on Mac OS X 10.4.8, PPC. > > I checked out the latest version of the source (rev 294) and ran this > from trunk/build (I have non-standard locations for Qt and php): > > cmake -DQT_INCLUDE_DIR=3D/usr/local/Trolltech/Qt-4.2.2/include \ > -DQT_LIBRARY_DIR=3D/usr/local/Trolltech/Qt-4.2.2/lib \ > -DPHP5_INCLUDE_PATH=3D/usr/local/src/php-5.2.0/main \ > -DPHP5_EXECUTABLE=3D/usr/local/apache2/php/bin \ > -DPHP5_CONFIG_EXECUTABLE=3D/usr/local/apache2/php/bin/php-config .. > > Which seems to work, because I don't get any errors: > > -- Check for working C compiler: /usr/bin/gcc > -- Check for working C compiler: /usr/bin/gcc -- works > -- Check size of void* > -- Check size of void* - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Looking for Q_WS_X11 > -- Looking for Q_WS_X11 - not found. > -- Looking for Q_WS_MAC > -- Looking for Q_WS_MAC - found > -- Looking for Q_WS_WIN > -- Looking for Q_WS_WIN - not found. > -- Found Qt-Version 4.2.2 > -- Looking for pthread.h > -- Looking for pthread.h - found > -- Looking for pthread_create in pthreads > -- Looking for pthread_create in pthreads - not found > -- Looking for pthread_create in pthread > -- Looking for pthread_create in pthread - found > -- /usr/local/apache2/php/include/php/main > -- Found PHP5-Version 5.2.0 > > -- Configuring done > -- Generating done > -- Build files have been written to: > /usr/local/src/php-5.2.0/ext/php_qt/trunk/build > > > > > But when I run make, I get the following: > > [ 3%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, > x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, > x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, > x_19.cpp, x_20.cpp > Checking how Qt was built... > Threshold is set to 10 > Number of defines to be tested : 45/78 > > Failed to run /usr/bin/c++ -E -D__cplusplus -dM > -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore > /usr/local/Trolltech/Qt-4.2.2/include/QtCore/qglobal.h 2>/dev/null. > Trying without __cplusplus (might be already defined) > Trying to compile and link a small program... > FAILED : check your configuration. > Failed program was: > > #include <QtGui/qapplication.h> > int main( int argc, char **argv ) > { > QApplication foo( argc, argv ); > return 0; > } > > Compiled with: > /usr/bin/c++ -I/usr/local/Trolltech/Qt-4.2.2/include/QtTest > -I/usr/local/Trolltech/Qt-4.2.2/include/QtUiTools > -I/usr/local/Trolltech/Qt-4.2.2/include/QtSvg > -I/usr/local/Trolltech/Qt-4.2.2/include/QtXml > -I/usr/local/Trolltech/Qt-4.2.2/include/QtSql > -I/usr/local/Trolltech/Qt-4.2.2/include/QtOpenGL > -I/usr/local/Trolltech/Qt-4.2.2/include/QtNetwork > -I/usr/local/Trolltech/Qt-4.2.2/include/QtDesigner > -I/usr/local/Trolltech/Qt-4.2.2/include/QtDesigner > -I/usr/local/Trolltech/Qt-4.2.2/include/QtAssistant > -I/usr/local/Trolltech/Qt-4.2.2/include/Qt3Support > -I/usr/local/Trolltech/Qt-4.2.2/include/QtGui > -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore > -I/usr/local/Trolltech/Qt-4.2.2/mkspecs/default > -I/usr/local/Trolltech/Qt-4.2.2/include/Qt > -I/usr/local/Trolltech/Qt-4.2.2/include > -L/usr/local/Trolltech/Qt-4.2.2/lib -o ./8191-qtguess > ./8191-qtguess.cpp -lQtCore -lQtGui > Compiler output: > /usr/bin/ld: can't locate file for: -lQtCore > collect2: ld returned 1 exit status > > make[2]: *** [smoke/qt/smokedata.cpp] Error 1 > make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 > make: *** [all] Error 2 > > > Can someone help? > > > > .Carlo > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Php-qt-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-qt-users =2D-=20 Thomas |
From: Carlo C. <car...@gm...> - 2007-02-22 01:57:09
|
Hi, I'm having trouble compiling php-qt on Mac OS X 10.4.8, PPC. I checked out the latest version of the source (rev 294) and ran this from trunk/build (I have non-standard locations for Qt and php): cmake -DQT_INCLUDE_DIR=/usr/local/Trolltech/Qt-4.2.2/include \ -DQT_LIBRARY_DIR=/usr/local/Trolltech/Qt-4.2.2/lib \ -DPHP5_INCLUDE_PATH=/usr/local/src/php-5.2.0/main \ -DPHP5_EXECUTABLE=/usr/local/apache2/php/bin \ -DPHP5_CONFIG_EXECUTABLE=/usr/local/apache2/php/bin/php-config .. Which seems to work, because I don't get any errors: -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Found Qt-Version 4.2.2 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- /usr/local/apache2/php/include/php/main -- Found PHP5-Version 5.2.0 -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/php-5.2.0/ext/php_qt/trunk/build But when I run make, I get the following: [ 3%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp Checking how Qt was built... Threshold is set to 10 Number of defines to be tested : 45/78 Failed to run /usr/bin/c++ -E -D__cplusplus -dM -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore /usr/local/Trolltech/Qt-4.2.2/include/QtCore/qglobal.h 2>/dev/null. Trying without __cplusplus (might be already defined) Trying to compile and link a small program... FAILED : check your configuration. Failed program was: #include <QtGui/qapplication.h> int main( int argc, char **argv ) { QApplication foo( argc, argv ); return 0; } Compiled with: /usr/bin/c++ -I/usr/local/Trolltech/Qt-4.2.2/include/QtTest -I/usr/local/Trolltech/Qt-4.2.2/include/QtUiTools -I/usr/local/Trolltech/Qt-4.2.2/include/QtSvg -I/usr/local/Trolltech/Qt-4.2.2/include/QtXml -I/usr/local/Trolltech/Qt-4.2.2/include/QtSql -I/usr/local/Trolltech/Qt-4.2.2/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.2.2/include/QtNetwork -I/usr/local/Trolltech/Qt-4.2.2/include/QtDesigner -I/usr/local/Trolltech/Qt-4.2.2/include/QtDesigner -I/usr/local/Trolltech/Qt-4.2.2/include/QtAssistant -I/usr/local/Trolltech/Qt-4.2.2/include/Qt3Support -I/usr/local/Trolltech/Qt-4.2.2/include/QtGui -I/usr/local/Trolltech/Qt-4.2.2/include/QtCore -I/usr/local/Trolltech/Qt-4.2.2/mkspecs/default -I/usr/local/Trolltech/Qt-4.2.2/include/Qt -I/usr/local/Trolltech/Qt-4.2.2/include -L/usr/local/Trolltech/Qt-4.2.2/lib -o ./8191-qtguess ./8191-qtguess.cpp -lQtCore -lQtGui Compiler output: /usr/bin/ld: can't locate file for: -lQtCore collect2: ld returned 1 exit status make[2]: *** [smoke/qt/smokedata.cpp] Error 1 make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 make: *** [all] Error 2 Can someone help? .Carlo |
From: Thomas M. <tm...@ph...> - 2007-02-21 20:50:50
|
Hi Werner, The server structure has changed but i think it will be repaired soon. On Tuesday, 20. February 2007 12:10, Werner wrote: > Hi... > > Just checked: > http://www.iquip.org/ > and found demo link to: > http://ildiinc.com/t2/ > which responds with: > 404 > > Is this intentional? > > Kind Regards, > Werner > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Php-qt-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-qt-users =2D-=20 Thomas |
From: Thomas M. <tm...@ph...> - 2007-02-20 17:15:14
|
If you have trouble with finding your Qt4 installation you can pass the pat= h=20 to your Qt4 version of qmake by adding a -D option like this: cmake -DQT_QMAKE_EXECUTABLE=3D/usr/lib/qt4/bin/qmake .. And please don't forget the dots at the end if you are in trunk/build/ =2D-=20 Thomas |
From: Werner <li...@mo...> - 2007-02-20 11:11:05
|
Hi... Just checked: http://www.iquip.org/ and found demo link to: http://ildiinc.com/t2/ which responds with: 404 Is this intentional? Kind Regards, Werner |
From: Werner <li...@mo...> - 2007-02-20 11:05:30
|
Wow - we are waiting (im-)patiently for a release. Thanks for all the hard work, Werner Katrina Niolet wrote: > We have put together some basic information here about the "big picture", > which is the expansion of PHP-Qt and the bond between PHP-Qt and IQuiP. For > those unfamiliar, IQuiP is the web-based counterpart to PHP-Qt (more info is > below). We have also founded an organization called QiDi > (pronounced "Chee-dee") to develop the QiDi Framework which defines standards > for what the Qt API should look like in PHP. > > IQuiP allows one to write full-featured web applications using the Qt 4.2 API > in PHP and will soon be available from my company, ILdI Inc., in both open > source and supported versions. IQuiP works on any browser that supports XHTML > 1.0 (which includes even most mobile phone browsers) but takes advantage of > Javascript and AJAX when the browser supports it. With IQuiP, there is no > need to write even one line HTML or Javascript to build a Web 2.0 > Application. Until the initial release, all development is internal. The > initial draft of the QiDi Framework 1.0 specifications should also be > available around this time. > > PHP applications that conform to the standards found in the QiDi Framework > will run in both PHP-Qt and IQuiP without modification. Imagine your favorite > Web 2.0 calendar or web mail client running directly on your desktop when you > are at home, and through your web browser when you are using a friend's PC... > all with the same interface and features. QiDi, along with PHP-Qt and IQuiP, > makes this not only possible, but very easy to accomplish. > > More information about the QiDi Framework can be found at > http://qidiframework.org > > More information about IQuiP can be found at http://iquip.org > > -- > Katrina Niolet > kn...@il... > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Php-qt-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-qt-users > > |
From: Thomas M. <tm...@ip...> - 2007-02-19 22:15:38
|
Hello, I added a new cmake based build system to PHP-Qt. CMake is easier to mainta= in=20 and supports all platforms as Linux/Unix, MacOSX and Windows. Also it is=20 possible to do out-of-source builds which enables you to build PHP-Qt witho= ut=20 creating files in the original source dir. To get a clean build environment= =20 just delete all files in your build dir and run cmake again. The PHP-Qt=20 source dir will not be modified. The usage is quite simple, just create your build directory and change into= =2E=20 Then type 'cmake /path/to/php_qt' to create the Makefile.=20 After that just run make and make install.=20 CMake is available in most distributions in GUI and commandline versions. Y= ou=20 can get a copy and more information about it here: http://www.cmake.org Here is a short recipe: #1 Download PHP-Qt, unpack it and create a directory 'build' in the php_qt= =20 trunk dir: 'mkdir trunk/build' #2 change into this build dir 'cd trunk/build' #3 run it: =A0=A0=A0=A0=A0=A0=A0=A0cmake .. =A0=A0=A0=A0=A0=A0=A0=A0make =A0=A0=A0=A0=A0=A0=A0=A0sudo make install Have fun :-) Thomas |
From: Thomas M. <tho...@kd...> - 2007-01-24 10:03:10
|
On Tuesday, 23. January 2007 03:24, Mark Constable wrote: > And, will any of this code work with the QtScript engine > available in Qt 4.3 ? It seems to be a lot of work, but scripting a web application this way sounds interesting and experimental. -- Thomas |
From: Katrina N. <kn...@il...> - 2007-01-23 05:38:15
|
Well, as far as when, the best I can say now is "soon" unfortunately... I will give more updates as it gets closer. About using QtDesigner, its very true that this is possible and actually ve= ry=20 easy too! I will get a demo of this out ehh... "soon" lol. (much of this=20 already works) Currently the target for IQuiP is Qt 4.2, however its not out of the questi= on=20 that QtScript support could be added with other 4.3 features in a later=20 release. =2D- Katrina Niolet Le lundi 22 janvier 2007 20:24, Mark Constable a =E9crit=A0: > On Tuesday 23 January 2007 09:43, Thomas Moenicke wrote: > > > IQuiP allows one to write full-featured web applications > > > using the Qt 4.2 API in PHP > > > > Which means writing web applications with the QtDesigner :) > > This I got to see :-) but, when will it be available ? > > And, will any of this code work with the QtScript engine > available in Qt 4.3 ? > > --markc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn ca= sh > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Php-qt-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-qt-users |
From: Mark C. <ma...@re...> - 2007-01-23 02:24:37
|
On Tuesday 23 January 2007 09:43, Thomas Moenicke wrote: > > IQuiP allows one to write full-featured web applications > > using the Qt 4.2 API in PHP > > Which means writing web applications with the QtDesigner :) This I got to see :-) but, when will it be available ? And, will any of this code work with the QtScript engine available in Qt 4.3 ? --markc |
From: Thomas M. <tho...@kd...> - 2007-01-22 23:43:26
|
On Tuesday, 23. January 2007 00:24, Thomas Moenicke wrote: ... does it make sense to send encrypted emails to a mailing list? It doesn't ;) On Saturday, 20. January 2007 17:06, Katrina Niolet wrote: > IQuiP allows one to write full-featured web applications using the Qt 4.2 > API in PHP Which means writing web applications with the QtDesigner :) -- Thomas |
From: Katrina N. <kn...@il...> - 2007-01-20 16:07:24
|
We have put together some basic information here about the "big picture", which is the expansion of PHP-Qt and the bond between PHP-Qt and IQuiP. For those unfamiliar, IQuiP is the web-based counterpart to PHP-Qt (more info is below). We have also founded an organization called QiDi (pronounced "Chee-dee") to develop the QiDi Framework which defines standards for what the Qt API should look like in PHP. IQuiP allows one to write full-featured web applications using the Qt 4.2 API in PHP and will soon be available from my company, ILdI Inc., in both open source and supported versions. IQuiP works on any browser that supports XHTML 1.0 (which includes even most mobile phone browsers) but takes advantage of Javascript and AJAX when the browser supports it. With IQuiP, there is no need to write even one line HTML or Javascript to build a Web 2.0 Application. Until the initial release, all development is internal. The initial draft of the QiDi Framework 1.0 specifications should also be available around this time. PHP applications that conform to the standards found in the QiDi Framework will run in both PHP-Qt and IQuiP without modification. Imagine your favorite Web 2.0 calendar or web mail client running directly on your desktop when you are at home, and through your web browser when you are using a friend's PC... all with the same interface and features. QiDi, along with PHP-Qt and IQuiP, makes this not only possible, but very easy to accomplish. More information about the QiDi Framework can be found at http://qidiframework.org More information about IQuiP can be found at http://iquip.org -- Katrina Niolet kn...@il... |
From: Katrina N. <kn...@il...> - 2007-01-20 15:16:16
|
As a matter of fact, Thomas is working on this right now! So, the answer is "not yet but soon" :-) Katrina Le samedi 20 janvier 2007 06:09, Arnaud.lb a =E9crit=A0: > Hi, > > Is their a way to build PHP code from a .ui file like uic do, but for PHP= ? > > Thanks > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn ca= sh > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Php-qt-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-qt-users |
From: Arnaud.lb <arn...@gm...> - 2007-01-20 12:09:50
|
Hi, Is their a way to build PHP code from a .ui file like uic do, but for PHP ? Thanks |
From: Katrina N. <kn...@il...> - 2007-01-08 22:04:24
|
Are you using the latest version of PHP-Qt? (from CVS) Le lundi 8 janvier 2007 15:36, Marcin Kucharski a =E9crit=A0: > Hi, > > After compiling PHP-QT and running the first tutorial I'm receiving this > error: > *Fatal error*: could not parse argument in > QApplication::QApplication(...) ... > > Currently I'm using Fedora Core 6 with PHP 5.1.6 and Apache 2.2.3 > > Help ? :) > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn ca= sh > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Php-qt-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-qt-users |
From: Marcin K. <mku...@ws...> - 2007-01-08 21:56:34
|
Hi, After compiling PHP-QT and running the first tutorial I'm receiving this error: *Fatal error*: could not parse argument in QApplication::QApplication(...) ... Currently I'm using Fedora Core 6 with PHP 5.1.6 and Apache 2.2.3 Help ? :) |
From: Ferenc V. <li...@ne...> - 2006-12-08 20:53:55
|
Hi all, I solved the problems. Ferenc Veres wrote, On 2006-11-29 01:27: > > 1. Html like tables? > I copy the selected row's content to two (wordwrap true) QLabels above the table, that can display long text too, thus users can read the long text entries from the table by selecting the row. (Maybe I'll change those to two read-only QTextEdits later. (To allow scrolling of even longer text entries.) > 2. Connect doubleClick of tables? I use QTableWidget, which has cellCliked and cellDoubleClicked, these functions return X,Y to the click. Thus I can get the content by ->item(y,x). (This signal gives the X value in both variables, that may be a little bug in php_qt, or something in my program, I'll keep on debugging. :) ) Thanks anyway, Ferenc |
From: Ferenc V. <li...@ne...> - 2006-11-29 00:17:29
|
Hi all! First of all: the current php_qt versions is very great! I tried a lot of controls and functions. :-) Congratulations! ;-) My questions may be general Qt questions, but I hope it's acceptable on this list. Is it? 1. Html like tables? Can I make a QTableView (or something related) which works like a HTML table? (I am a web programmer, did not make any GUI stuff in this century!) I mean: the table cell would expand if the text is longer than it could fit. Cell would break the lines and expand vertically to display all text. Can I do that with any kind of tables in Qt? (My program displays English and translated strings in two columns, and it is important to see the complete text, because the aim of the program is to choose from previous translations. Maybe I should re-think the idea.) 2. Connect doubleClick of tables? I use the doubleClicked signal of QTableView (it is inherited from QAbstractItemView). My slot function is called, but the argument is not the right type. According to documentation it should be QModelIndex, but I think I get QObject. //slot function doubleClicked(&$index) { print_r($index); } prints: QObject Object ( [0] => 168 ) If I define the function with specifying the type of the $index (QModelIndex &$index), I get PHP error about wrong type when called. If I try to print $index->row(), program quits. Ok, maybe PHP print_r prints the base class of the class, but I don't know how to test it. (?) Printing $index->isValid() also stops the program. (I think this signal is never emitted with not valid index.) Signal documentation says: void doubleClicked ( const QModelIndex & index ) my Connect command is: $this->connect($this->tblSearchResults, SIGNAL("doubleClicked(QModelIndex)"), $this, SLOT("doubleClicked(QModelIndex)")); Many thanks in advance, Ferenc |
From: Thomas M. <tho...@kd...> - 2006-11-05 20:39:24
|
Hi, All basics of porting PHP-Qt to Smoke are done. Smoke is a library designed for Qt/KDE language bindings. The functionality of PHP-Qt is still the same, but now we have nearly all Qt classes with all methods. ChangeLog: * Code rewritten and ported to kdebindings::Smoke * all classes and methods are supported with basic argument types and classes * enum values are like eg Qt::Horizontal instead of QT_ALIGNMENT_HORIZONTAL * License: GPL * PHP-Qt objects are casted automatically * QMetaObjects are created in class constructor and related pointers are stored in a hash table -- Thomas |
From: <rik...@gm...> - 2006-10-09 17:02:22
|
I would point to Code Igniter - a nice simple yet powerfull framework :) I've used to code some scripts and it performed realy nice - not super but stil nice :) |
From: Mark C. <ma...@re...> - 2006-10-09 16:59:13
|
On Monday 09 October 2006 23:50, Thomas Moenicke wrote: > Such a repository is a good idea and Confluence Wiki or Trac seems to be good > solutions for software development. We'll try to get a license and set up one > as soon as possible, at repo or classes.php-qt.org or so. WebSVN and MediaWiki are worth considering, perhaps with Flyspray as a bug and ticket tracker. All PHP based and free. Or, Drupal handles "projects" and allows for uploads, plus a wiki module, and also has a fairly well developed subversion module. Actually, Drupal would be nearly ideal for php-qt.org and simply incorporate contributed scripts and classes into it directly along with user blogs and support forums all with an intergrated single auth system... and RSS feeds to be in touch with changes. --markc |
From: Thomas M. <tho...@kd...> - 2006-10-09 14:03:51
|
On Saturday, 7. October 2006 02:29, Mark Constable wrote: > > 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)... There is still a problem with the build system on Mandriva. I'm playing around with cmake and it is easier to handle, problably we can use cmake for php-qt. Btw KDE4 will use cmake, it is common enough for PHP-Qt. -- Thomas |
From: Thomas M. <tho...@kd...> - 2006-10-09 13:51:17
|
On Monday, 9. October 2006 00:07, Katrina Niolet wrote: > Hey, Thomas, will you set up a subdomain on our server for this? We can do > it as another account perhaps so it is isolated? We could probably get an > opensource confluence license since PHP-Qt is pretty well established > now... (being discussed at conferences and all) ;-) What are your thoughts? Such a repository is a good idea and Confluence Wiki or Trac seems to be good solutions for software development. We'll try to get a license and set up one as soon as possible, at repo or classes.php-qt.org or so. -- Thomas |
From: <kn...@il...> - 2006-10-08 22:07:27
|
DQpJIGFncmVlLCBpdCB3b3VsZCBoZWxwIGEgbG90IHRvIGF0dHJhY3QgZGV2ZWxvcGVycyEgOi1E DQpZZXMsIElRdWlQIGlzIFZFUlkgcmVsYXRlZCB0byBQSFAtUXQsIEkgd2lsbCBnaXZlIGxvdHMg bW9yZSBpbmZvIHZlcnkgc29vbi4NCkhleSwgVGhvbWFzLCB3aWxsIHlvdSBzZXQgdXAgY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