Summary: | running marble example code with Qt5: Size mismatch for type 'QPaintBufferCacheEntry' | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | zhangq.rhy |
Component: | general | Assignee: | marble-bugs |
Status: | REPORTED --- | ||
Severity: | normal | CC: | nienhueser |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | attachment-4880-0.html |
Description
zhangq.rhy
2015-06-24 07:07:23 UTC
Does it work if you change marblewidget to marblewidget-qt5 in the CMakeLists.txt (in the SET (MARBLE_LIBRAR... line)? I'm afraid you're linking to an older marblewidget library on your system, or a qt4 version of it. We changed the library name some time ago from marblewidget to marblewidget-qt5 for the qt5 version. If that is true, we possibly have to change our CMakeLists.txt.external files in the examples. Created attachment 93426 [details] attachment-4880-0.html Hi Dennis Thanks for your reply. 1) I managed to compile and running the marblewidget (sudo apt-get install libmarble-dev) with Qt 4. So the example on marble's webpage is working for Qt4. 2) There's no libmarblewidget-qt5 in ubuntu source repositories. I guess I need to download the source and compile install manually? But I did not find the official package for ubuntu and very few docs on marble working with Qt5. Please advise. Best regards, Zhang Qun On Fri, Jun 26, 2015 at 3:58 AM, Dennis Nienhüser <earthwings@gentoo.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=349555 > > Dennis Nienhüser <earthwings@gentoo.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |earthwings@gentoo.org > > --- Comment #1 from Dennis Nienhüser <earthwings@gentoo.org> --- > Does it work if you change marblewidget to marblewidget-qt5 in the > CMakeLists.txt (in the SET (MARBLE_LIBRAR... line)? I'm afraid you're > linking > to an older marblewidget library on your system, or a qt4 version of it. We > changed the library name some time ago from marblewidget to > marblewidget-qt5 > for the qt5 version. > > If that is true, we possibly have to change our CMakeLists.txt.external > files > in the examples. > > -- > You are receiving this mail because: > You reported the bug. Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. |