Difference between revisions of "Frameworks/Coinstallability"

(restart now that things are split)
(Add windows note)
 
(23 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
It should be possible to install a kde frameworks 5 runtime alonside a kdelibs 4 runtime so apps can use either one
 
It should be possible to install a kde frameworks 5 runtime alonside a kdelibs 4 runtime so apps can use either one
  
= kio =
+
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
  
* /usr/share/doc/HTML/en/kioslave/   will clash unless distros change docs install path (as ubuntu does)
+
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]]
 +
 
 +
= 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.
 +
 
 +
* 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.