Talk:KDE package guidelines

From ArchWiki
Latest comment: Sunday at 09:29 by Marcel83 in topic Install prefix for KF6

Address the expansion template to "Force Qt version"

We have removed the information regarding selecting between Qt4 and Qt5, but since Qt6 exists now, we should probably document how to select the right qmake binary, as it appears the issue still exists. Here's a draft below, as I'm not confident what I wrote is error-free. --Erus Iluvatar (talk) 10:12, 26 February 2023 (UTC)Reply[reply]

Draft

On systems where multiple Qt versions are installed, qmake is not always the desired version, to force cmake to use Qt version n with an environment variable:

export QT_SELECT=n

or pass explicitly the right binary to cmake:

-DQT_QMAKE_EXECUTABLE=/path/to/desired/qmake_executable

Install prefix for KF6

This section needs to be updated for KF6. kf5-config has been deprecated in favor of qtpaths, however /usr/bin/qtpaths is currently part of qt5-tools, while the version from qt6-base is under /usr/lib/qt6/bin/qtpaths.

Most packages from the AUR ignore these guidelines anyway and hard-code the path to /usr.

So what would the proper way of handling the install prefix for KF6 be? Marcel83 (talk) 09:29, 21 April 2024 (UTC)Reply[reply]