https://bugs.kde.org/show_bug.cgi?id=398582

--- Comment #43 from caulier.gil...@gmail.com ---
Hi Maik,

All main dependencies from KF6 compile fine under VCPKG (VSCode 2022) with Qt
6.6.0, except Marble ported to Qt6 (by myself).

https://i.imgur.com/xiwF6vT.png

This broken compilation touches plenty of cpp files with exactly the same
error. Look at the screenshot in the StyleBuilder.cpp. Its due to the
OsmPlacemarkData.h include which define the problematic QHash definitions:

https://invent.kde.org/education/marble/-/blob/marble-qt6/src/lib/marble/osm/OsmPlacemarkData.h?ref_type=heads#L161

I suspect that somewhere, a forward declaration of class OsmPlacemarkData
breaks the compilation. As the class usage is a big puzzle, it's not simple to
solve.

This kind of code is untouched with my qt6 port. I mostly fix the broken Qt API
calls and the famous QString from char* constructors calls.
Marble qt5 compile fine under Windows with MSVC 2019:

https://binary-factory.kde.org/view/Windows%2064-bit/job/Marble_Nightly_win64/1016/

The qt6 port of Marble compiles fine under Linux with Qt6.5.3 + G++ and Clang.
I haven't yet tested Qt6.6.0, but I suspect more of a problem with MSVC
compiler version 2022.

If you have some ideas, let me know.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to