<div dir="ltr">I think you should wait for this PR Matteo: <a href="https://github.com/qgis/QGIS/pull/6558">https://github.com/qgis/QGIS/pull/6558</a><div><br></div><div>Which Qt version are you using?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-08 9:31 GMT+01:00 Hernán De Angelis <span dir="ltr"><<a href="mailto:dhdeangelis@gmail.com" target="_blank">dhdeangelis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Matteo,<br><br></div><div>Which OS are you using?<br></div><div><br></div>I have similar problems trying to build QGIS 3 in openSUSE Leap 42.3. I posted a question a few days back about that. I got an answer from Luigi, saying that the lines of code where the error happened had not changed in over a year, a hint that QGIS is not the problem.<br><br>Puzzled about the repeating error, and having installed and reinstalled all thinkable dependencies and changed all options, I saw that I could without problems build QGIS 2.18.17. I then came to the conclusion that the most likely trouble is caused by misunderstandings in the coexistence between Python 3 and 2, and QT 4 and 5 in my own OS installation. I mean that I am not clearly telling the build where to find the libraries, and that I possibly have a mix of versions in my computer.<br><br>I have not yet worked around this, but I am pretty convinced this is a problem because I have seen these kind of errors in previous versions, in those cases when I wasn't careful enough to tell the compiler to not use Python 3 or QT 5.<br><br></div><div>Hope this helps.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>H.<br></div><div><br><br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 8, 2018 at 8:41 AM, matteo <span dir="ltr"><<a href="mailto:matteo.ghetta@gmail.com" target="_blank">matteo.ghetta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi devs,<br>
<br>
even with a new source directory I cannot compile QGIS. I get this error:<br>
<br>
<br>
In file included from<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingregistry.cpp:20:0:<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:<br>
In member function ‘virtual QgsProcessingParameterType::Pa<wbr>rameterFlags<br>
QgsProcessingParameterTypeVect<wbr>orDestination::flags() const’:<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:396:13:<br>
error: ‘QgsProcessingParameterType::P<wbr>arameterFlags {aka class<br>
QFlags<QgsProcessingParameterT<wbr>ype::ParameterFlag>}’ has no member named<br>
‘setFlag’<br>
       flags.setFlag( ParameterFlag::ExposeToModeler<wbr>, false );<br>
             ^<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:<br>
In member function ‘virtual QgsProcessingParameterType::Pa<wbr>rameterFlags<br>
QgsProcessingParameterTypeFile<wbr>Destination::flags() const’:<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:438:13:<br>
error: ‘QgsProcessingParameterType::P<wbr>arameterFlags {aka class<br>
QFlags<QgsProcessingParameterT<wbr>ype::ParameterFlag>}’ has no member named<br>
‘setFlag’<br>
       flags.setFlag( ParameterFlag::ExposeToModeler<wbr>, false );<br>
             ^<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:<br>
In member function ‘virtual QgsProcessingParameterType::Pa<wbr>rameterFlags<br>
QgsProcessingParameterTypeFold<wbr>erDestination::flags() const’:<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:481:13:<br>
error: ‘QgsProcessingParameterType::P<wbr>arameterFlags {aka class<br>
QFlags<QgsProcessingParameterT<wbr>ype::ParameterFlag>}’ has no member named<br>
‘setFlag’<br>
       flags.setFlag( ParameterFlag::ExposeToModeler<wbr>, false );<br>
             ^<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:<br>
In member function ‘virtual QgsProcessingParameterType::Pa<wbr>rameterFlags<br>
QgsProcessingParameterTypeRast<wbr>erDestination::flags() const’:<br>
/home/matteo/lavori/QGIS/QGIS/<wbr>src/core/processing/qgsprocess<wbr>ingparametertypeimpl.h:523:13:<br>
error: ‘QgsProcessingParameterType::P<wbr>arameterFlags {aka class<br>
QFlags<QgsProcessingParameterT<wbr>ype::ParameterFlag>}’ has no member named<br>
‘setFlag’<br>
       flags.setFlag( ParameterFlag::ExposeToModeler<wbr>, false );<br>
             ^<br>
[ 11%] Building CXX object<br>
src/core/CMakeFiles/qgis_core.<wbr>dir/processing/models/qgsproce<wbr>ssingmodelparameter.cpp.o<br>
src/core/CMakeFiles/qgis_core.<wbr>dir/build.make:3250: recipe for target<br>
'src/core/CMakeFiles/qgis_core<wbr>.dir/processing/qgsprocessingr<wbr>egistry.cpp.o'<br>
failed<br>
make[2]: ***<br>
[src/core/CMakeFiles/qgis_core<wbr>.dir/processing/qgsprocessingr<wbr>egistry.cpp.o]<br>
Error 1<br>
make[2]: *** Waiting for unfinished jobs....<br>
CMakeFiles/Makefile2:1243: recipe for target<br>
'src/core/CMakeFiles/qgis_core<wbr>.dir/all' failed<br>
make[1]: *** [src/core/CMakeFiles/qgis_core<wbr>.dir/all] Error 2<br>
Makefile:160: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
<br>
Some suggestions?<br>
<br>
Thanks<br>
<span class="m_3206834993754506510HOEnZb"><font color="#888888"><br>
Matteo<br>
______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a></font></span></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br></div>