Digikam git build without marble issue
leoutation at gmx.fr
leoutation at gmx.fr
Mon Dec 11 18:56:16 GMT 2023
On 12/11/23 18:45, Maik Qualmann wrote:
> No, that's not a mistake, we are in the process of integrating Marble into
> digiKam. Since the Marble team did not respond to requests for porting to Qt6,
> Gilles did the porting. This means we can also offer Marble with Qt6, otherwise
> we would lose the geolocation function. We are currently working on making it
> work again under Qt5. It is a reduced marble library that is tailored to the
> needs of digiKam. And before the bug report comes, we might also integrate an
> OFF switch.
>
> Maik
Thanks for these explanations
/home/fre/ARCH-AUR/digikam-git-light/src/digikam/core/utilities/geolocation/marble/GeoGraphicsScene.cpp:232:52:
error: ‘T& QMultiHash<K, V>::operator[](const Key&) [with Key =
Marble::TileId; T = QHash<const Marble::GeoDataFeature*,
Marble::GeoGraphicsItem*>]’ is private within this context
232 | auto & tileList = d->m_tiledItems[*tileIter];
| ^
In file included from /usr/include/qt/QtCore/QHash:1,
from
/home/fre/ARCH-AUR/digikam-git-light/src/digikam/core/utilities/geolocation/marble/geodata/data/GeoDataLatLonAltBox.h:18,
from
/home/fre/ARCH-AUR/digikam-git-light/src/digikam/core/utilities/geolocation/marble/GeoGraphicsScene.cpp:9:
/usr/include/qt/QtCore/qhash.h:1117:8: note: declared private here
1117 | T &operator[](const Key &key);
| ^~~~~~~~
/home/fre/ARCH-AUR/digikam-git-light/src/digikam/core/utilities/geolocation/marble/GeoGraphicsScene.cpp:
In member function ‘void
Marble::GeoGraphicsScene::addItem(Marble::GeoGraphicsItem*)’:
/home/fre/ARCH-AUR/digikam-git-light/src/digikam/core/utilities/geolocation/marble/GeoGraphicsScene.cpp:269:42:
error: ‘T& QMultiHash<K, V>::operator[](const Key&) [with Key =
Marble::TileId; T = QHash<const Marble::GeoDataFeature*,
Marble::GeoGraphicsItem*>]’ is private within this context
269 | auto & tileList = d->m_tiledItems[key];
| ^
/usr/include/qt/QtCore/qhash.h:1117:8: note: declared private here
1117 | T &operator[](const Key &key);
| ^~~~~~~~
make[2]: ***
[core/utilities/geolocation/marble/CMakeFiles/core_marble_obj.dir/build.make:9150:
core/utilities/geolocation/marble/CMakeFiles/core_marble_obj.dir/GeoGraphicsScene.cpp.o]
Error 1
>
> Am Montag, 11. Dezember 2023, 17:50:58 CET schrieb leoutation at gmx.fr:
>> Hi
>> Usually, I successfully build Digikam git without marble because it's
>> optional.
>> I see now Digikam build process strangely finds libmarble on my system
>> but i don't have any 'marble' package/library installed on my system
>> libmarble found.......................... YES (optional)
>>
>> I think it's a bug
>> conditions: Arch system QT5 KF5
>>
>> --
>> Maderios
>
>
>
>
--
Maderios
More information about the Digikam-users
mailing list