[Qgis-developer] Building QGIS 2.x with Qt 5.x?
Matthias Kuhn
matthias.kuhn at gmx.ch
Thu Sep 4 08:06:45 PDT 2014
Hi Dave,
Are you sure you have checked out the correct branch from my private
repository (link in my first response)?
There is no support for this in master yet.
The definition of the cmake variable can be seen here[1]
Best
Matthias
https://github.com/m-kuhn/QGIS/blob/final-2_4_0-qt5/CMakeLists.txt#L222
On Thu 04 Sep 2014 04:56:12 PM CEST, Dave Johansen wrote:
> 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?
> Thanks,
> Dave
>
>
> On Thu, Sep 4, 2014 at 12:46 AM, Matthias Kuhn <matthias.kuhn at gmx.ch
> <mailto:matthias.kuhn at gmx.ch>> wrote:
>
> Hi Dave,
>
> IIRC you only have to set the cmake option ENABLE_QT5=TRUE
>
> Matthias
>
> On 09/02/2014 10:07 PM, Dave Johansen wrote:
>> 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?
>> Thanks,
>> Dave
>>
>>
>> On Tue, Sep 2, 2014 at 11:41 AM, Matthias Kuhn
>> <matthias.kuhn at gmx.ch <mailto:matthias.kuhn at gmx.ch>> wrote:
>>
>> Hi Dave,
>>
>> I have ported large portions of the code to Qt5 (for
>> Android). It has
>> not been widely tested but runs quite stable here on Fedora
>> (so not far
>> from RHEL). However, due to missing pyqt packages I could not
>> test
>> python support (arriving in Fedora 21). If you want to give
>> it a try,
>> you can find the code here [1]
>>
>> Good luck and let me know how it goes.
>>
>> Matthias
>>
>> [1] https://github.com/m-kuhn/QGIS/tree/final-2_4_0-qt5
>>
>> On Die 02 Sep 2014 20:38:28 CEST, Dave Johansen wrote:
>> >
>> http://gis.stackexchange.com/questions/62548/can-i-use-qgis-with-qt5
>> > The above link indicates that QGIS 2.x can't be built with
>> Qt 5.x and
>> > I was curious how much work would be involved in resolving
>> that.
>> >
>> > I ask because I'm using RHEL 6 which comes with Qt 4.6 and
>> so I can't
>> > build QGIS 2.x with that because it requires 4.7. Qt 5.x is
>> available
>> > in the EPEL so I was wondering what would be involved in
>> making it so
>> > I could use that. If it's not too big of an effort, then I
>> could
>> > potentially help with the work but I wanted to find out
>> what it would
>> > involve before I dove into anything.
>> >
>> > Thanks,
>> > Dave
>> >
>> >
>> > _______________________________________________
>> > Qgis-developer mailing list
>> > Qgis-developer at lists.osgeo.org
>> <mailto:Qgis-developer at lists.osgeo.org>
>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>
>
More information about the Qgis-developer
mailing list