读完这篇文章后,我想在 CentOS6.3 上编译 QGIS1.8 。
我已将以下代码添加到/qgis-1.8.0/python/CMakeLists.txt
顶部 1、2、3 行
cmake_minimum_required(VERSION 2.6)
find_package(Qt4)
include(${QT_USE_FILE})
但是我仍然有以下错误:
CMake Error at 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
如何继续编译 qgis 源代码?