[QGIS-Developer] build error on: #elif QT_CONFIG(process) ?
Matthias Kuhn
matthias at opengis.ch
Thu Dec 20 04:59:35 PST 2018
Hi Richard, Peter,
Apparently this macro has been added with Qt 5.8
We'll need to increase the minimum version Qt version for QGIS, or have
a backwards compatible solution in place.
Bests
Matthias
On 12/20/18 1:38 PM, Peter Petrik wrote:
> Hi Richard,
>
> sorry for complications, I have added this macro to allow QGIS build
> on iOS. I can try to compile later, but the error message suggest that
> the C preprocessor macro "QT_CONFIG" is not defined. on my PC it is
> defined in header qglobal.h, which should be part of QT core library.
> So I suspect A) you do not have the header included (so best to
> include it directly) or B) the header on the machine is old (but that
> would be strange that you can compile full QGIS)
>
> Peter
>
> On Thu, Dec 20, 2018 at 12:30 PM Richard Duivenvoorde
> <rdmailings at duif.net <mailto:rdmailings at duif.net>> wrote:
>
> On 12/20/18 10:55 AM, Richard Duivenvoorde wrote:
>
> > Note that a fresh build here on my laptop (Debian Testing) just
> worked...
> >
> > Nobody else sees this?
>
> Tried using make and ninja as build tools, no difference.
>
> Found this:
>
> https://stackoverflow.com/questions/21338385/what-does-the-compiler-error-missing-binary-operator-before-token-mean
>
> But we do not have a "features.h" in our code...
>
> This one
>
> https://forum.qt.io/topic/27925/solved-qt_deprecated_since-gives-error-missing-binary-operator-before-token-in-qnamespace-h/5
>
> is talking about a limits.h
>
> which we also do not have...
>
> Tried to remove the if else macro in qgsapplication.cpp
>
> But then I get other build errors in other files on lines containing:
>
> #if QT_CONFIG(process)
>
> After reading
>
> https://forum.kde.org/viewtopic.php?f=269&t=128141
>
> I thought that I could miss dependencies, so made sure to have
> installed
> all stuff for stretch from INSTALL.txt
>
> Still failing...
>
> Regards,
>
> Richard
>
>
>
>
>
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Matthias Kuhn
matthias at opengis.ch <mailto:matthias at opengis.ch>
+41 (0)76 435 67 63 <tel:+41764356763>
OPENGIS.ch Logo <http://www.opengis.ch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181220/00d024c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6671 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181220/00d024c5/attachment-0001.png>
More information about the QGIS-Developer
mailing list