Baba,
qgis22
qgis24
qgis26
qgis210
qgis212
The above qgis2XX-pyYY packages fail to build with this error:
/sw/src/fink.build/qgis26-py34-2.6.1-5/qgis-2.6.1/python/core/conversions.sip:600:7:
error: member reference type 'QMap<qint64, QMap<int, QVariant> > *' (aka
'QMap<long long, QMap<int, QVariant> > *') is a pointer; did you mean to
use '->'?
qm.insert(k, *t);
~~^
->
/sw/src/fink.build/qgis26-py34-2.6.1-5/qgis-2.6.1/python/core/conversions.sip:600:18:
error: no viable conversion from 'QVariant' to 'const QMap<int, QVariant>'
qm.insert(k, *t);
^~
/sw/lib/qt4-mac/include/QtCore/qmap.h:183:12: note: candidate
constructor not viable: no known conversion from 'QVariant' to 'const
QMap<int, QVariant> &' for 1st argument
inline QMap(const QMap<Key, T> &other) : d(other.d)
^
/sw/lib/qt4-mac/include/QtCore/qmap.h:398:46: note: passing argument to
parameter 'value' here
iterator insert(const Key &key, const T &value);
^
2 errors generated.
make[2]: ***
[python/CMakeFiles/python_module_qgis__core.dir/build.make:310:
python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o]
Error 1
This is fixed by this patch:
https://gist.githubusercontent.com/dakcarto/f399e7333c228618cae5062331f70c91/raw/d01dc0a56032d6ef38413755299dfe3d0c377651/sip_patch.diff
qgis214 and up are OK.
Hanspeter
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel