Summary: | INSTALL file in src lists incorrect prerequisite version for qt. cannot build on RHEL6. | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Vincent Broman <vbroman> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | nienhueser |
Priority: | NOR | ||
Version: | 1.8 (KDE 4.13) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vincent Broman
2014-03-19 21:36:40 UTC
master and Marble 1.7 (= the KDE/4.13 branch) require Qt 4.7 or higher. See http://mail.kde.org/pipermail/marble-devel/2013-July/004344.html Older branches likely work with Qt 4.6, or are easy to fix at least. I'd be interested to fix the KDE/4.12 branch to compile with Qt 4.6, but I have no such Qt version around to look into it. Patches are welcome. QTDECLARATIVE was an optional dependency some time ago, the QML stuff should just be excluded from the build if it's not found. Git commit e2711565c63063f29c4ad11806da879fa35fc8a3 by Dennis Nienhüser. Committed on 20/03/2014 at 19:11. Pushed by nienhueser into branch 'master'. Correct some of the outdated information M +11 -12 INSTALL http://commits.kde.org/marble/e2711565c63063f29c4ad11806da879fa35fc8a3 If QTDECLARATIVE is an optional dependency, then it seems to me that cmake should turn it off when it finds QTDECLARATIVE missing, right? I have tried out a kdeedu-marble-4.3, which made me desire the latest and greatest. Any quick pointer how to exclude QTDECLARATIVE manually in order to compile 4.12? The declarative plugin and the marble-touch application should be disabled when QTDECLARATIVE is not found. It should be simple to disable them manually in the respective CMakeLists.txt that adds them. There may be a dependency in AbstractDataPlugin.{h,cpp} as well which would need some #ifdef switches to disable QTDECLARATIVE, which is a bit more complicated to make optional (still possible though). I tried editing the CMakeLists.txt files to avoid QTDECLARATIVE and ifdeffing out the call in AbstractDataPlugin.* that needs it, so that I succeeded in getting cmake to complete. Unfortunately, when I ran make, it failed when the compilation hit the first of many references to QWebView, which was missing in 4.6 because it seems to have been introduced in Qt4.7 . Unless someone has more suggestions, I'll give up on RHEL6 marble. QWebView is part of QtWebKit which was introduced earlier than Qt 4.6. Please check that it is indeed installed. 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. RHEL 6 is ancient and I have no idea whether the bug has since been fixed. I mark it as RESOLVED only in the sense that I have lost interest. |