python - CMake compilation error: Unknown CMake command "PYQT4_WRAP_UI" -


i tring compile qgis1.8 on centos6.3 after reading this post.

i have added below code /qgis-1.8.0/python/cmakelists.txt @ top 1,2,3 line

cmake_minimum_required(version 2.6) find_package(qt4) include(${qt_use_file}) 

however still have below errors:

cmake error @ plugins/plugin_installer/cmakelists.txt:18 (pyqt4_wrap_ui): unknown cmake command "pyqt4_wrap_ui". -- configuring incomplete, errors occurred! -- cache values cmake_backwards_compatibility:string=2.4 cmake_build_type:string= cmake_install_prefix:path=/usr/local executable_output_path:path= library_output_path:path= qt_qmake_executable:filepath=/usr/bin/qmake-qt4 

how can continue compile qgis source code?


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -