Following the instructions here:

https://htmlpreview.github.io/?https://github.com/qgis/QGIS/blob/master/doc/INSTALL.html

I'm getting the following trying to configure 2.18:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_LIBRARY
linked by target "qgispython" in directory C:/CodingX/QGIS/src/python
linked by target "python_module_qgis__networkanalysis" in directory C:/CodingX/QGIS/python linked by target "python_module_qgis__core" in directory C:/CodingX/QGIS/python linked by target "python_module_qgis__analysis" in directory C:/CodingX/QGIS/python linked by target "python_module_qgis__gui" in directory C:/CodingX/QGIS/python
QWTPOLAR_INCLUDE_DIR
used as include directory in directory C:/CodingX/QGIS/src/app
used as include directory in directory C:/CodingX/QGIS/src/app
QWTPOLAR_LIBRARY
linked by target "qgis_app" in directory C:/CodingX/QGIS/src/app
linked by target "qgis_maptoolselect" in directory C:/CodingX/QGIS/tests/src/app linked by target "qgis_apppythontest" in directory C:/CodingX/QGIS/tests/src/app linked by target "qgis_vectorlayersaveasdialogtest" in directory C:/CodingX/QGIS/tests/src/app linked by target "qgis_fieldcalculatortest" in directory C:/CodingX/QGIS/tests/src/app linked by target "qgis_maptoolidentifyaction" in directory C:/CodingX/QGIS/tests/src/app linked by target "qgis_attributetabletest" in directory C:/CodingX/QGIS/tests/src/app linked by target "qgis_measuretool" in directory C:/CodingX/QGIS/tests/src/app linked by target "qgis_qgisappclipboard" in directory C:/CodingX/QGIS/tests/src/app
SPATIALINDEX_LIBRARY
linked by target "qgis_core" in directory C:/CodingX/QGIS/src/core


On 04/02/2017 00:06, Matthias Kuhn wrote:

Hi Andrew,

Compiling with Qt 5 (and therefore compiling master) on Windows is still very experimental. The libraries are not yet available on osgeo4w and I'm not sure if they are available elsewhere (QCA, QWT, QtWebKit, PyQt5-Python3 etc.).

Depending on what you need, compile the release-2_18 branch with the dependencies on osgeo4w, wait a little longer until the dependencies become available (or use linux or mac or if you really want you can also try to compile all the dependencies yourself as well).

Matthias


On 03/02/2017 18:18, Andrew Gillett wrote:

Any particular version of QT? It turns out it can't be higher than QT 5.5 because QTWebKit was removed in later versions. But QTScript is not present in 5.5. Now I'm trying 5.3 but I get:

CMake Error at cmake/FindQCA.cmake:59 (message):
Could not find QCA
Call Stack (most recent call first):
CMakeLists.txt:292 (FIND_PACKAGE)

Went back to OSGeo4W setup, installed QCA-libs and QCA-devel - no difference.


On 03/02/2017 14:16, Luigi Pirelli wrote:
for master (eg. QGIS3.x) is a prerequisite
Luigi Pirelli

**************************************************************************************************
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn:https://www.linkedin.com/in/luigipirelli
* Stackexchange:http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub:https://github.com/luipir
* Mastering QGIS 2nd Edition:
*https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
**************************************************************************************************


On 3 February 2017 at 14:12, Andrew Gillett<[email protected]>  wrote:
I get the following error during the configure stage in CMake:


CMake Error at CMakeLists.txt:248 (FIND_PACKAGE):
   By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
   asked CMake to find a package configuration file provided by "Qt5Gui", but
   CMake did not find one.

   Could not find a package configuration file provided by "Qt5Gui" with any
   of the following names:

     Qt5GuiConfig.cmake
     qt5gui-config.cmake

   Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
   "Qt5Gui_DIR" to a directory containing one of the above files.  If
"Qt5Gui"
   provides a separate development package or SDK, be sure it has been
   installed.


QT5 is not mentioned in the docs as a prerequisite, am I meant to get it
fromwww.qt.io  (installer wants me to create an account) or is it meant to
come from somewhere else?

_______________________________________________
Qgis-developer mailing list
[email protected]
List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer



_______________________________________________
Qgis-developer mailing list
[email protected]
List info:https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-developer



_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to