LD paths for Qt change during prime step

I am building an app from a deb binary.
It comes with its own copy of QT.

While all QT LD links are fine after build and stage step

linux-vdso.so.1 =>  (0x00007ffe6cdf9000)
        libQt5Core.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5Core.so.5 (0x00007ff376135000)
        libQt5Widgets.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5Widgets.so.5 (0x00007ff37588f000)
        libQt5Gui.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5Gui.so.5 (0x00007ff375052000)
        libQt5Network.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5Network.so.5 (0x00007ff374ca7000)
        libQt5WebChannel.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5WebChannel.so.5 (0x00007ff374a85000)
        libQt5WebEngineWidgets.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5WebEngineWidgets.so.5 (0x00007ff374838000)
        libQt5PrintSupport.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5PrintSupport.so.5 (0x00007ff3745bf000)
        libQt5DBus.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5DBus.so.5 (0x00007ff37432d000)
        libQt5WebEngineCore.so.5 => /home/pjs/github/rstudio/parts/rstudio/install/usr/lib/rstudio/bin/./../lib/libQt5WebEngineCore.so.5 (0x00007ff36d480000)

they are altered after the prime step:

linux-vdso.so.1 =>  (0x00007fff1853a000)
        libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f0f396a2000)
        libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f0f39317000)
        libQt5WebChannel.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebChannel.so.5 (0x00007f0f390f9000)
        libQt5WebEngineWidgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5 (0x00007f0f38eb8000)
        libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f0f38c49000)
        libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f0f389bf000)
        libQt5WebEngineCore.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5 (0x00007f0f324c8000)

This causes errors because there are not QT libraries in /usr/lib/x86_64_linux_gnu.

I tried to force set the old directory using the environment tag but it does not help.

Here is the yaml:

parts:
  app:
    plugin: dump
    source: <app>.deb
    source-type: deb
    stage-packages:
      - <some here>

apps:
  app:
    command: usr/lib/<app>/bin/<app>
    environment:
      LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/<app>/lib:$SNAP/usr/lib/<app>/plugins
    plugs:
      - <some here>