<div dir="ltr">Hi Larry<div><br></div><div>I finally have the time to sit down and try to get your recipe for building / debugging QGIS under QtCreator a try, but I cant seem to find your notes on this. I have two screenies showing some of the settings but not quite enough info to get it working. Currently I am getting this (see [2] below) output when trying to run cmake in QtCreator. I am building using options in [1].</div>

<div><br></div><div>I also made this dirty hack so that some python libs could be found [3].</div><div><br></div><div>Can you point me in the right direction of any notes etc you have?</div><div><br></div><div>Regards</div>

<div><br></div><div>Tim</div><div><br></div><div>[1]</div><div><br></div><div>-DCMAKE_INSTALL_PREFIX="/Users/timlinux/Applications/"  -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DWITH_ASTYLE=FALSE -DENABLE_TESTS=TRUE -DWITH_INTERNAL_SPATIALITE=FALSE -DWITH_PYSPATIALITE=FALSE -DSPATIALINDEX_INCLUDE_DIR=/usr/local/include/spatialindex -DSPATIALINDEX_LIBRARY=/usr/local/Cellar/libspatialite/4.1.1/libspatialindex.dylib -DQWT_LIBRARY=/usr/local/Cellar/qwt/6.1.0/lib/qwt.framework/Versions/Current/qwt -DQWT_INCLUDE_DIR=/usr/local/Cellar/qwt/6.1.0/lib/qwt.framework/Versions/Current/Headers/ -DBISON_EXECUTABLE=/usr/local/Cellar/bison/3.0.2/bin/bison -DWITH_MAPSERVER=TRUE -DWITH_APIDOC=FALSE -DQGIS_MACAPP_BUNDLE=2 -DSIP_BINARY_PATH=/usr/local/bin -DPYTHON_LIBRARIES=/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DWITH_MAPSERVER=False<br>

</div><div><br></div><div>[2]</div><div><br></div><div>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">CMake Error: The following variables are used in this project, but they are set to NOTFOUND.</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">Please set them or make sure they are set and tested correctly in the CMake files:</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">QWTPOLAR_INCLUDE_DIR</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">   used as include directory in directory /Users/timlinux/dev/cpp/QGIS/src/app</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">   used as include directory in directory /Users/timlinux/dev/cpp/QGIS/src/app</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">   used as include directory in directory /Users/timlinux/dev/cpp/QGIS/src/app</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">QWTPOLAR_LIBRARY</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">    linked by target "QGIS" in directory /Users/timlinux/dev/cpp/QGIS/src/app</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">    linked by target "qgis_app" in directory /Users/timlinux/dev/cpp/QGIS/src/app</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">    linked by target "qgis_qgisappclipboard" in directory /Users/timlinux/dev/cpp/QGIS/tests/src/app</span></p>


<p style="margin:0px;font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)"><br></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">/usr/bin/python: can't open file '_find_qsci_py-NOTFOUND': [Errno 2] No such file or directory</span></p>


<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;font-weight:600;color:rgb(170,0,0)">/usr/bin/python: can't open file '_find_pyqt_py-NOTFOUND': [Errno 2] No such file or directory</span></p>


<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- QGIS version: 2.3.0 Master (20300)</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Could not find GRASS</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Proj: /usr/local/lib/libproj.dylib</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found GEOS: /usr/local/Cellar/geos/3.4.2/lib/libgeos_c.dylib</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found GDAL: /usr/local/Cellar/gdal/1.10.1/lib/libgdal.dylib (1.10.1)</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Expat: /usr/local/lib/libexpat.dylib</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Spatialindex: /usr/local/Cellar/libspatialite/4.1.1/libspatialindex.dylib</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Qwt: /usr/local/Cellar/qwt/6.1.0/lib/qwt.framework/Versions/Current/qwt (6.1.0)</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Sqlite3: /usr/lib/libsqlite3.dylib</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found PostgreSQL: /usr/local/Cellar/postgresql/9.3.2/lib/libpq.dylib</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found SpatiaLite: /usr/local/lib/libspatialite.dylib</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Qt version: 4.8.6</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Touch support disabled</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found QScintilla2: /usr/local/lib/libqscintilla2.dylib (2.8)</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Pedantic compiler settings enabled</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Debug output enabled</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Python executable: /usr/bin/python</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Python version: 2.7.5</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found Python library: -framework Python</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found SIP version: 4.15.4</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Found GSL: -L/usr/local/Cellar/gsl/1.16/lib -lgsl -lgslcblas</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- txt2tags not found - disabled</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Ctest Binary Directory  set to: /Users/timlinux/dev/cpp/QGIS/build-osx/output/bin</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">-- Configuring incomplete, errors occurred!</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">See also "/Users/timlinux/dev/cpp/QGIS/build-osx/CMakeFiles/CMakeOutput.log".</span></p>
<p style="margin:0px"><span style="font-family:Monaco;font-size:13pt;color:rgb(0,0,0)">See also "/Users/timlinux/dev/cpp/QGIS/build-osx/CMakeFiles/CMakeError.log".</span></p>
<p style="margin:0px;font-family:Monaco;font-size:13pt;color:rgb(0,0,0)"><br></p><div>[3]</div><div><br></div><div>







<p class="">Tims-MacBook-Pro:QGIS timlinux$ git diff</p>
<p class="">diff --git a/cmake/FindPyQt.py b/cmake/FindPyQt.py</p>
<p class="">index 256c4a6..b658cde 100644</p>
<p class="">--- a/cmake/FindPyQt.py</p>
<p class="">+++ b/cmake/FindPyQt.py</p>
<p class="">@@ -29,6 +29,7 @@</p>
<p class=""> # Copyright (c) 2007, Simon Edwards <<a href="mailto:simon@simonzone.com">simon@simonzone.com</a>></p>
<p class=""> # Redistribution and use is allowed according to the terms of the BSD license.</p>
<p class=""> # For details see the accompanying COPYING-CMAKE-SCRIPTS file.</p>
<p class="">+import sys</p>
<p class=""> </p>
<p class=""> import PyQt4.pyqtconfig</p>
<p class=""> </p>
<p class="">diff --git a/cmake/FindSIP.py b/cmake/FindSIP.py</p>
<p class="">index e291baa..7eb8d68 100644</p>
<p class="">--- a/cmake/FindSIP.py</p>
<p class="">+++ b/cmake/FindSIP.py</p>
<p class="">@@ -31,6 +31,8 @@</p>
<p class=""> # For details see the accompanying COPYING-CMAKE-SCRIPTS file.</p>
<p class=""> </p>
<p class=""> import sys</p>
<p class="">+sys.path.append('/usr/local/lib/python2.7/site-packages/')</p>
<p class="">+print sys.path</p>
<p class=""> import sipconfig</p>
<p class=""> </p>
<p class=""> sipcfg = sipconfig.Configuration()</p><p class=""><br></p><p class=""><br></p><p class=""><br></p></div><div><br></div><div><br></div>-- <br><div dir="ltr">Tim Sutton - QGIS Project Steering Committee Member<br>

==============================================<br>Please do not email me off-list with technical<br>support questions. Using the lists will gain<br>more exposure for your issues and the knowledge<br>surrounding your issue will be shared with all.<br>

<br>Irc: timlinux on #qgis at <a href="http://freenode.net" target="_blank">freenode.net</a><br>==============================================</div>
</div></div>