<div dir="ltr">I tried doing "-DENABLE_QT5=TRUE" and "-DENABLE_QT5:BOOL=TRUE" and it still doesn't work. In CMakeCache.txt, it says "//No help, variable specified on the command line.". Any recommendations on what else to try?<br>
Thanks,<br>Dave<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 4, 2014 at 12:46 AM, Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias.kuhn@gmx.ch" target="_blank">matthias.kuhn@gmx.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Dave,<br>
    <br>
    IIRC you only have to set the cmake option <span>ENABLE_QT5=TRUE<span class="HOEnZb"><font color="#888888"><br>
      <br>
      Matthias<br>
      <br>
    </font></span></span><div><div class="h5">
    <div>On 09/02/2014 10:07 PM, Dave Johansen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">I'd be glad to give it a try and help resolve any
        issues. What do I need to do to build it? I tried running cmake
        and it is still looking for Qt4, so how do I tell it to build
        with Qt5?<br>
        Thanks,<br>
        Dave<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Sep 2, 2014 at 11:41 AM,
          Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias.kuhn@gmx.ch" target="_blank">matthias.kuhn@gmx.ch</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dave,<br>
            <br>
            I have ported large portions of the code to Qt5 (for
            Android). It has<br>
            not been widely tested but runs quite stable here on Fedora
            (so not far<br>
            from RHEL). However, due to missing pyqt packages I could
            not test<br>
            python support (arriving in Fedora 21). If you want to give
            it a try,<br>
            you can find the code here [1]<br>
            <br>
            Good luck and let me know how it goes.<br>
            <br>
            Matthias<br>
            <br>
            [1] <a href="https://github.com/m-kuhn/QGIS/tree/final-2_4_0-qt5" target="_blank">https://github.com/m-kuhn/QGIS/tree/final-2_4_0-qt5</a><br>
            <div>
              <div><br>
                On Die 02 Sep 2014 20:38:28 CEST, Dave Johansen wrote:<br>
                > <a href="http://gis.stackexchange.com/questions/62548/can-i-use-qgis-with-qt5" target="_blank">http://gis.stackexchange.com/questions/62548/can-i-use-qgis-with-qt5</a><br>
                > The above link indicates that QGIS 2.x can't be
                built with Qt 5.x and<br>
                > I was curious how much work would be involved in
                resolving that.<br>
                ><br>
                > I ask because I'm using RHEL 6 which comes with Qt
                4.6 and so I can't<br>
                > build QGIS 2.x with that because it requires 4.7.
                Qt 5.x is available<br>
                > in the EPEL so I was wondering what would be
                involved in making it so<br>
                > I could use that. If it's not too big of an effort,
                then I could<br>
                > potentially help with the work but I wanted to find
                out what it would<br>
                > involve before I dove into anything.<br>
                ><br>
                > Thanks,<br>
                > Dave<br>
                ><br>
                ><br>
              </div>
            </div>
            > _______________________________________________<br>
            > Qgis-developer mailing list<br>
            > <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
            > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
            <br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>