Hi Matthias, Thanks, Even Roualt just fixed.
I'm on Debian testing: Qt 5.7.1 Regards, Richard On 06/28/2018 09:05 PM, Matthias Kuhn wrote: > Hi Richard, > > Can you try changing the `!= 't'` to `!= QLatin1String( "t" )` and open > a PR if that solves the issue? I assume a compiler or old Qt version > compatibility issue. > > And concerning the "is it appropriate to post here", I can't answer this > question, but in cases like here, where a particular line number in a > file is mentioned, it's often very efficient to comment on this line on > github, since the person in charge of the change will be notified right > away. > > Cheers > > Matthias > > > On 06/28/2018 01:44 PM, Richard Duivenvoorde wrote: >> Hi Matthias, >> >> Thanks, meanwhile it is fixed I think? >> >> Now I have this one: >> >> /home/richard/git/qgis/src/providers/postgres/qgspostgresprovider.cpp: >> In member function ‘virtual bool QgsPostgresProvider::empty() const’: >> /home/richard/git/qgis/src/providers/postgres/qgspostgresprovider.cpp:3203:33: >> error: no match for ‘operator!=’ (operand types are ‘QString’ and ‘char’) >> return res.PQgetvalue( 0, 0 ) != 't'; >> ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ >> In file included from >> /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:44:0, >> from >> /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:43, >> from >> /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1, >> from ../src/core/qgsapplication.h:19, >> from >> /home/richard/git/qgis/src/providers/postgres/qgspostgresprovider.cpp:18: >> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1175:13: note: >> candidate: bool QString::operator!=(const char*) const <near match> >> inline bool QString::operator!=(const char *s) const >> ^~~~~~~ >> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1175:13: note: >> conversion of argument 1 would be ill-formed: >> /home/richard/git/qgis/src/providers/postgres/qgspostgresprovider.cpp:3203:36: >> error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive] >> return res.PQgetvalue( 0, 0 ) != 't'; >> ^~~ >> In file included from >> /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:44:0, >> >> >> I'm not sure if it is in anyway helpfull to let this know here, as I do >> not dare to fix this myself... >> But maybe others are trying to compile and fail also. >> >> If devs prefer that I make an issue of these, just let me know. >> >> Regards, >> >> Richard Duivenvoorde >> >> On 06/27/2018 04:02 PM, Matthias Kuhn wrote: >>> Looks like there is a problem with the "final" keyword, probably in >>> combination with some older versions of sip. >>> >>> I'm traveling so I don't have the possibility to fix this timely, I'm sorry. >>> >>> https://github.com/qgis/QGIS/blob/master/python/core/auto_generated/qgsvectordataprovider.sip.in#L134 >>> >>> Matthias >>> >>> >>> On 06/27/2018 03:45 PM, Luigi Pirelli wrote: >>>> back to 4f25d23fc2e7f1ccf6a2798da78c0fd199fda424 allow successfully build >>>> >>>> Luigi Pirelli >>>> >>>> ************************************************************************************************** >>>> * LinkedIn: https://www.linkedin.com/in/luigipirelli >>>> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli >>>> * GitHub: https://github.com/luipir >>>> * Mastering QGIS 2nd Edition: >>>> * >>>> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition >>>> * Hire me: http://goo.gl/BYRQKg >>>> ************************************************************************************************** >>>> >>>> >>>> On Wed, 27 Jun 2018 at 14:24, Richard Duivenvoorde >>>> <[email protected] <mailto:[email protected]>> wrote: >>>> >>>> Hi Devs, >>>> >>>> I'm having an issue compiling current master: >>>> >>>> [ 47%] Building CXX object >>>> src/server/CMakeFiles/qgis_server.dir/moc_qgsserverlogger.cpp.o >>>> [ 47%] Building CXX object >>>> src/server/CMakeFiles/qgis_server.dir/moc_qgsserversettings.cpp.o >>>> [ 47%] Linking CXX shared library ../../output/lib/libqgis_server.so >>>> sip: >>>> >>>> /home/richard/git/qgis/build/python/core/auto_generated/qgsvectordataprovider.sip:134: >>>> syntax error >>>> python/CMakeFiles/python_module_qgis__core.dir/build.make:511: recipe >>>> for target 'python/core/sip_corepart0.cpp' failed >>>> make[2]: *** [python/core/sip_corepart0.cpp] Error 1 >>>> make[2]: *** Deleting file 'python/core/sip_corepart0.cpp' >>>> CMakeFiles/Makefile2:3343: recipe for target >>>> 'python/CMakeFiles/python_module_qgis__core.dir/all' failed >>>> make[1]: *** [python/CMakeFiles/python_module_qgis__core.dir/all] >>>> Error 2 >>>> make[1]: *** Waiting for unfinished jobs.... >>>> [ 47%] Building CXX object >>>> >>>> src/gui/CMakeFiles/qgis_gui.dir/raster/qgsmultibandcolorrendererwidget.cpp.o >>>> [ 47%] Building CXX object >>>> src/gui/CMakeFiles/qgis_gui.dir/raster/qgspalettedrendererwidget.cpp.o >>>> [ 47%] Building CXX object >>>> src/gui/CMakeFiles/qgis_gui.dir/raster/qgsrasterbandcombobox.cpp.o >>>> [ 47%] Building CXX object >>>> src/gui/CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o >>>> [ 47%] Built target qgis_server >>>> >>>> Tried a fresh checkout, and both Ninja and make. >>>> >>>> Anybody else seeing this? >>>> >>>> Regards, >>>> >>>> Richard Duivenvoorde >>>> _______________________________________________ >>>> QGIS-Developer mailing list >>>> [email protected] <mailto:[email protected]> >>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >>>> >>>> >>>> >>>> _______________________________________________ >>>> QGIS-Developer mailing list >>>> [email protected] >>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >>> -- >>> Matthias Kuhn >>> [email protected] <mailto:[email protected]> >>> +41 (0)76 435 67 63 <tel:+41764356763> >>> OPENGIS.ch Logo <http://www.opengis.ch> >>> >>> >>> _______________________________________________ >>> QGIS-Developer mailing list >>> [email protected] >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >>> >> _______________________________________________ >> QGIS-Developer mailing list >> [email protected] >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> > > -- > Matthias Kuhn > [email protected] <mailto:[email protected]> > +41 (0)76 435 67 63 <tel:+41764356763> > OPENGIS.ch Logo <http://www.opengis.ch> > > > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
