[Kde-bindings] playground/bindings/phpqt

Katrina J Niolet katrina at niolet.name
Thu Jul 12 09:48:40 UTC 2007


SVN commit 686864 by kniolet:

* Updated installation instructions to include step by step proccess for building outside of the source tree.

* Cleaned up instructions for installing from SVN.

* Added licensing information in COPYING file.

CCMAIL: kde-bindings at kde.org


 A             COPYING  
 M  +17 -13    README  
 M  +6 -4      README.SVN  


--- trunk/playground/bindings/phpqt/README #686863:686864
@@ -9,7 +9,7 @@
 Requirements
 ============
 
-PHP 5.1 or greater
+PHP 5.1 or greater (5.2 or greater is recommended)
 PHP header files and the development scripts
 (package may be called php-devel)
 
@@ -27,11 +27,13 @@
 
 The quick and easy way:
 
-cmake /path/to/php_qt
-make
-make install
+1) change to the directory where you placed the php-qt sources
+2) create a directory here named 'build'
+3) run 'cmake ..' (see Troubleshooting below if you have more than one
+	version of Qt installed or you get errors here)
+4) run 'make'
+5) run 'make install'
 
-
 The more detailed way:
 
 First make sure CMake, your PHP header files, and your Qt header files are 
@@ -40,11 +42,12 @@
 into
 its own directory.
 
-Next it is neccessary to create your build environment for compiling.
-To do this, just change into the directory where you placed PHP-Qt and run 
-cmake:
+Next it is necessary to create your build environment for compiling.
+To do this, just change into the directory where you placed PHP-Qt and 
+create a directory named 'build'
+run:
 
-cmake
+cmake ..
 
 If needed you can give arguments to CMake via the -D option, such as:
   -DQT_INCLUDE_DIR=/usr/lib/qt4/include
@@ -55,7 +58,7 @@
 the default or standard 
 paths such as /usr/include, /usr/local/include etc.
 
-Finally, run:
+Next, run:
 
 make
 
@@ -78,14 +81,15 @@
 ===================================
 
 If you get the following error:
-CMake Error: Could NOT find QtCore. Check CMakeFiles/CMakeError.log for more 
-details.
+CMake Error: Could NOT find QtCore. 
 
 Try running cmake as:
-cmake /path/to/php-qt  -DQT_QMAKE_EXECUTABLE=/usr/lib/qt4/bin/qmake
+cmake ..  -DQT_QMAKE_EXECUTABLE=/usr/lib/qt4/bin/qmake
 (you may need to replace the /usr/lib/qt4/bin/qmake if yours is in another 
 place)
 
+For other problems try checking CMakeFiles/CMakeError.log for more 
+details.
 
 Mailing lists
 =============
--- trunk/playground/bindings/phpqt/README.SVN #686863:686864
@@ -1,5 +1,7 @@
-- make sure you have dbus support in Qt, set QTDIR and put qmake into your path
-- run ./prepare_svn.sh to fetch smoke, kalyptus and cmake modules
-- create a build dir and run cmake, make and make install
-- define qt.codec=Latin1 and extension=php_qt.so in your php.ini file
+Installation after checking out from SVN
+==========================================
+- Make sure you have DBus support in Qt, set QTDIR and put qmake into your path
+- Run ./prepare_svn.sh to fetch Smoke, Kalyptus and CMake modules
+- Create a build dir and run cmake, make and make install
+- Define qt.codec=Latin1 and extension=php_qt.so in your php.ini file
 



More information about the Kde-bindings mailing list