qt: deprecate kde6
Give users a heads up that option is being removed. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
f671e772d3
commit
1e759786e5
3 changed files with 31 additions and 2 deletions
|
|
@ -3,4 +3,5 @@
|
|||
qt-platform-theme-gtk = ./qt-platform-theme-gtk.nix;
|
||||
qt-platform-theme-gtk3 = ./qt-platform-theme-gtk3.nix;
|
||||
qt-platform-theme-gnome = ./qt-platform-theme-gnome.nix;
|
||||
qt-platform-theme-kde6-migration = ./qt-platform-theme-kde6-migration.nix;
|
||||
}
|
||||
|
|
|
|||
16
tests/modules/misc/qt/qt-platform-theme-kde6-migration.nix
Normal file
16
tests/modules/misc/qt/qt-platform-theme-kde6-migration.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "kde6"; # Should trigger warning and convert to "kde"
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
# Verify that kde6 gets converted to kde in QT_QPA_PLATFORMTHEME
|
||||
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
||||
'QT_QPA_PLATFORMTHEME="kde"'
|
||||
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
||||
'QT_PLUGIN_PATH'
|
||||
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
||||
'QML2_IMPORT_PATH'
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue