Difference between revisions of "Frameworks/Coinstallability"

(kdelibs4support fixed for coinstallability)
(Add windows note)
 
(3 intermediate revisions by one other user not shown)
Line 10: Line 10:
  
 
HTML_INSTALL_DIR does clash as /usr/share/doc/HTML to allow khelpcentre to find docs from both kdelibs4 land and kf5 land
 
HTML_INSTALL_DIR does clash as /usr/share/doc/HTML to allow khelpcentre to find docs from both kdelibs4 land and kf5 land
 +
 +
In addition, under Windows, the file names of the executables provided by the framework must differ from those of the KDE4 counterpart, as the 'libexecdir' directory is mapped to the 'bin' directory.
  
 
[[Plasma/Coinstallability|Plasma Next coinstallability page]]
 
[[Plasma/Coinstallability|Plasma Next coinstallability page]]
Line 15: Line 17:
 
= kactivities =
 
= kactivities =
  
* kactivitymanagerd clashes, seems upstream want it to stay that way https://git.reviewboard.kde.org/r/115602/
+
The libraries are co-installable, but the daemon is not.
 +
 
 +
* libkactivities/qt5 requires kactivitymanagerd/qt5
 +
* libkactivities/qt4 works with both kactivitymanagerd/qt4 and kactivitymanagerd/qt5 (though, the later is advised since it is more stable)
 +
 
 +
In order to build only the library part of kactivities/qt4, you can pass -DKACTIVITIES_LIBRARY_ONLY=true to cmake. libkactivities/qt4 works with the qt5 version of the daemon.
 +
 
 +
* link to the original discussion: https://git.reviewboard.kde.org/r/115602/

Latest revision as of 12:01, 21 September 2020

KDE Frameworks 5 and Plasma 2 co-installability

It should be possible to install a kde frameworks 5 runtime alonside a kdelibs 4 runtime so apps can use either one

Many paths have changed by default so there is no clash

  • kdelibs 4 CONFIG_INSTALL_DIR: /usr/share/config
  • kf5 CONFIG_INSTALL_DIR: /etc/xdg
  • kdelibs 4 DATA_INSTALL_DIR: /usr/share/apps
  • kf5 DATA_INSTALL_DIR: /usr/share

HTML_INSTALL_DIR does clash as /usr/share/doc/HTML to allow khelpcentre to find docs from both kdelibs4 land and kf5 land

In addition, under Windows, the file names of the executables provided by the framework must differ from those of the KDE4 counterpart, as the 'libexecdir' directory is mapped to the 'bin' directory.

Plasma Next coinstallability page

kactivities

The libraries are co-installable, but the daemon is not.

  • libkactivities/qt5 requires kactivitymanagerd/qt5
  • libkactivities/qt4 works with both kactivitymanagerd/qt4 and kactivitymanagerd/qt5 (though, the later is advised since it is more stable)

In order to build only the library part of kactivities/qt4, you can pass -DKACTIVITIES_LIBRARY_ONLY=true to cmake. libkactivities/qt4 works with the qt5 version of the daemon.


This page was last edited on 21 September 2020, at 12:01. Content is available under Creative Commons License SA 4.0 unless otherwise noted.