mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
kwindowsystem: use QLatin1String instead of QStringLiteral
This commit is contained in:
parent
d9094c087e
commit
b7f895d972
@ -17,4 +17,5 @@ mkDerivation {
|
||||
preConfigure = ''
|
||||
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PATH=\"''${!outputBin}/$qtPluginPrefix\""
|
||||
'';
|
||||
outputs = [ "out" "dev" ];
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ Index: kwindowsystem-5.32.0/src/pluginwrapper.cpp
|
||||
- foreach (const QString &entry, pluginDir.entryList(QDir::Files | QDir::NoDotAndDotDot)) {
|
||||
- ret << pluginDir.absoluteFilePath(entry);
|
||||
- }
|
||||
+ QDir pluginDir(QStringLiteral(NIXPKGS_QT_PLUGIN_PATH) + QLatin1Literal("/kf5/org.kde.kwindowsystem.platforms"));
|
||||
+ QDir pluginDir(QLatin1String(NIXPKGS_QT_PLUGIN_PATH) + QLatin1Literal("/kf5/org.kde.kwindowsystem.platforms"));
|
||||
+ foreach (const QString &entry, pluginDir.entryList(QDir::Files | QDir::NoDotAndDotDot)) {
|
||||
+ ret << pluginDir.absoluteFilePath(entry);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user