diff --git a/pkgs/development/libraries/qt-5/modules/qtbase.nix b/pkgs/development/libraries/qt-5/modules/qtbase.nix index 5d6f91a79113..a24d75fdcd58 100644 --- a/pkgs/development/libraries/qt-5/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-5/modules/qtbase.nix @@ -162,6 +162,8 @@ stdenv.mkDerivation { qtQmlPrefix = "lib/qt-${qtCompatVersion}/qml"; qtDocPrefix = "share/doc/qt-${qtCompatVersion}"; + dontStrip = developerBuild; + setOutputFlags = false; preConfigure = '' export LD_LIBRARY_PATH="$PWD/lib:$PWD/plugins/platforms''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" @@ -253,6 +255,7 @@ stdenv.mkDerivation { ++ lib.optionals developerBuild [ "-developer-build" "-no-warnings-are-errors" + "-force-debug-info" ] ++ ( if (!stdenv.hostPlatform.isx86_64) then [