<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Larry,<div class=""><br class=""></div><div class="">Thanks a lot for tackling this!</div><div class="">Glad to read it’ll land soon, but no pressure ;)</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Denis</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 8 Nov 2016, at 18:13, Larry Shaffer <<a href="mailto:larrys@dakotacarto.com" class="">larrys@dakotacarto.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class="gmail_extra">
<br class=""><div class="gmail_quote">On Sun, Nov 6, 2016 at 7:23 PM, Etienne Trimaille <span dir="ltr" class=""><<a href="mailto:etienne.trimaille@gmail.com" target="_blank" class="">etienne.trimaille@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">Thanks David and Matthias for providing some feedbacks about QGIS 3 on mac.<div class="">I also would like QGIS 3 compiling on mac.</div><div class=""><br class=""></div><div class="">I hope you will update the <a href="http://install.md/" target="_blank" class="">install.md</a> on the repo when you will have a working workflow ? Thanks</div></div></blockquote><div class=""><br class=""></div><div class="">I have been preparing Homebrew and OSGeo4Mac 'taps' for this move and am now focusing on QGIS 3 formulae, probably starting on Thursday or Friday. I hope to have everything building and docs completed by the end of the weekend.</div><div class=""><br class=""></div><div class="">The new formulae will not be hosted in OSGeo4Mac or Homebrew (at least not until there are stable releases), but in a specific tap for QGIS development and Travis CI support:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/qgis/homebrew-qgisdev" class="">https://github.com/qgis/homebrew-qgisdev</a><br class=""></div><div class=""><br class=""></div><div class="">So, look for changes there as things progress. Please contribute or post bug reports there for those dev formulae or docs, once they are available.</div><div class=""><br class=""></div><div class="">Regards,</div><br class="">Larry Shaffer<br class="">Dakota Cartography<br class=""><div class="">Black Hills, South Dakota</div><div class=""> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><div class="gmail_quote">2016-11-01 1:22 GMT+07:00 Matthias Kuhn <span dir="ltr" class=""><<a href="mailto:matthias@opengis.ch" target="_blank" class="">matthias@opengis.ch</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Diane and welcome aboard,<br class="">
<br class="">
I also didn't manage to compile master on osx yet.<br class="">
<br class="">
Some more information can be found here also:<br class="">
<br class="">
<a href="https://github.com/OSGeo/homebrew-osgeo4mac/pull/146#issuecomment-254011621" rel="noreferrer" target="_blank" class="">https://github.com/OSGeo/homeb<wbr class="">rew-osgeo4mac/pull/146#issueco<wbr class="">mment-254011621</a><br class="">
<br class="">
I think most of the dependencies should meanwhile be available on<br class="">
homebrew (but not sure).<br class="">
<br class="">
Regards<br class="">
<span class="gmail-m_-120762548529464794HOEnZb"><font color="#888888" class="">Matthias<br class="">
</font></span><div class="gmail-m_-120762548529464794HOEnZb"><div class="gmail-m_-120762548529464794h5"><br class="">
On 10/31/2016 06:56 PM, David Marteau wrote:<br class="">
> Hi<br class="">
><br class="">
> I will speak with my own experience using and compiling Qgis on Mac (El capitan and Maverick):<br class="">
><br class="">
> First I use Macport: MacPort use clang/libc++ by default (at least with XCode 5.3 on Maverick, 7.3 on El capitan) so this should solve one of your problems.<br class="">
> I have installed qt5 from MacPort without problems.<br class="">
><br class="">
> The problems arise with some ports that do not fully support qt5 variants and you need to tweak some portfiles: qscintilla and py-qscintilla are one of them and are required by Qgis.<br class="">
> If you are interested I can give you my diff files for portfiles.<br class="">
><br class="">
> I had to build qwt directly from sources because tweaking Macport portfiles was too painful, but I did not encounter any serious problems as far as I can remember.<br class="">
><br class="">
> No source code was needed to be patched, only compilation configurations.<br class="">
><br class="">
> Once you get all dependencies you need to set the cmake options accordingly to the path of your installation:<br class="">
><br class="">
> Here is my defines:<br class="">
><br class="">
> »   »   -DCMAKE_INSTALL_PREFIX:PATH=/<wbr class="">Applications \<br class="">
> »   »   -DWITH_SERVER=ON \<br class="">
> »   »   -DWITH_PYSPATIALITE=ON \<br class="">
> »   »   -DPYTHON_CUSTOM_FRAMEWORK:PAT<wbr class="">H=/opt/local/Library/Framework<wbr class="">s/Python.framework  \<br class="">
> »   »   -DEXPAT_INCLUDE_DIR:PATH=/<wbr class="">opt/local/include \<br class="">
> »   »   -DEXPAT_LIBRARY:FILEPATH=/<wbr class="">opt/local/lib/libexpat.dylib \<br class="">
> »   »   -DSQLITE3_INCLUDE_DIR:PATH=/o<wbr class="">pt/local/include \<br class="">
> »   »   -DSQLITE3_LIBRARY:FILEPATH=/o<wbr class="">pt/local/lib/libsqlite3.dylib \<br class="">
> »   »   -DQT_QMAKE_EXECUTABLE:FILEPAT<wbr class="">H=/opt/local/libexec/qt5/bin/<wbr class="">qmake \<br class="">
> »   »   -DQWT_INCLUDE_DIR:PATH=/usr/l<wbr class="">ocal/qwt-6.1.3/lib/qwt.framewo<wbr class="">rk/Versions/6/Headers \<br class="">
> »   »   -DQWT_LIBRARY:FILEPATH=/usr/l<wbr class="">ocal/qwt-6.1.3/lib/qwt.framewo<wbr class="">rk/Versions/6/qwt \<br class="">
> »   »   -DQCA_INCLUDE_DIR:PATH=/opt/l<wbr class="">ocal/include/qca \<br class="">
> »   »   -DQCA_LIBRARY:FILEPATH=/opt/l<wbr class="">ocal/lib/libqca.dylib \<br class="">
> »   »   -DQSCINTILLA_INCLUDE_DIR:<wbr class="">PATH=/opt/local/libexec/qt5/<wbr class="">include \<br class="">
> »   »   -DQSCINTILLA_LIBRARY:<wbr class="">FILEPATH=/opt/local/libexec/<wbr class="">qt5/lib/libqscintilla2.dylib \<br class="">
> »   »   -DQT_LRELEASE_EXECUTABLE:FILE<wbr class="">PATH=/opt/local/libexec/qt5/<wbr class="">bin/lrelease \<br class="">
><br class="">
> I hope that full support for qt5 will be available from Macport soon, but for now I have managed to compile Qgis from the master branch without struggling too much.<br class="">
><br class="">
> Best,<br class="">
> David<br class="">
><br class="">
>> Le 31 oct. 2016 à 16:12, Diane Perez <<a href="mailto:lintawa@gmail.com" target="_blank" class="">lintawa@gmail.com</a>> a écrit :<br class="">
>><br class="">
>> Dear QGIS developers,<br class="">
>><br class="">
>> First of all, thank you very much for the great job, I have been a very happy user for years !<br class="">
>><br class="">
>> I would like to contribute now to the development, but I found myself stuck at the installation of dependencies.<br class="">
>><br class="">
>> According to the instructions of the INSTALL file provided with the source code, mac users should use Qt 4 and compile and install a bunch of dependencies for which binaries are not available (mainly Spatialindex, SIP, QScintilla2, PyQt, Qwt and bison) before being able to compile QGIS. I followed the instructions and got stuck at compiling QGIS as the master now requires Qt 5.<br class="">
>><br class="">
>> Now as I actually started by installing Qt 5 by mistake, I had the opportunity to see that it leads to a lot of problems to compile the dependencies. As far as I understand, Qt 5 requires C++11, which means one must use the new libc++ library instead of the old libstdc++ (at least on my configuration, with El Capitan and clang/llvm). Some modifications are such that mixing both is not possible, so everything must be compiled from start with C++11 and libc++. Unfortunately most of the dependencies I mention above do not compile without tweaking, and I stopped doing it when it started meaning not only modifying the Makefiles but the code itself...<br class="">
>><br class="">
>> I guess some of you work on mac, and have a far better understanding of all this than me. So my question is : how did you install those dependencies to compile the last version of QGIS with Qt 5 ?<br class="">
>><br class="">
>> Did you have to compile again all of them or only a subset using Qt 5 and C++11 ? If so, how did you do it ? I got stuck at Qwt (6.1.3) which uses lots of functions deprecated in Qt 5.<br class="">
>><br class="">
>> I hope someone can give me pointers, as I would really like to contribute to QGIS (and hopefully fix a few bugs bugging me) !<br class="">
>><br class="">
>> Best regards,<br class="">
>> Diane<br class="">
>><br class="">
>> ______________________________<wbr class="">_________________<br class="">
>> Qgis-developer mailing list<br class="">
>> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank" class="">Qgis-developer@lists.osgeo.org</a><br class="">
>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman<wbr class="">/listinfo/qgis-developer</a><br class="">
>> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman<wbr class="">/listinfo/qgis-developer</a><br class="">
><br class="">
> ______________________________<wbr class="">_________________<br class="">
> Qgis-developer mailing list<br class="">
> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank" class="">Qgis-developer@lists.osgeo.org</a><br class="">
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman<wbr class="">/listinfo/qgis-developer</a><br class="">
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman<wbr class="">/listinfo/qgis-developer</a><br class="">
><br class="">
______________________________<wbr class="">_________________<br class="">
Qgis-developer mailing list<br class="">
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank" class="">Qgis-developer@lists.osgeo.org</a><br class="">
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman<wbr class="">/listinfo/qgis-developer</a><br class="">
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman<wbr class="">/listinfo/qgis-developer</a></div></div></blockquote></div><br class=""></div>
</div></div><br class="">______________________________<wbr class="">_________________<br class="">
Qgis-developer mailing list<br class="">
<a href="mailto:Qgis-developer@lists.osgeo.org" class="">Qgis-developer@lists.osgeo.org</a><br class="">
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/<wbr class="">mailman/listinfo/qgis-<wbr class="">developer</a><br class="">
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/<wbr class="">mailman/listinfo/qgis-<wbr class="">developer</a><br class=""></blockquote></div><br class=""></div></div>
_______________________________________________<br class="">Qgis-developer mailing list<br class=""><a href="mailto:Qgis-developer@lists.osgeo.org" class="">Qgis-developer@lists.osgeo.org</a><br class="">List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer<br class="">Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer</div></blockquote></div><br class=""></div></body></html>