Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static build not working #19

Closed
dartmann opened this issue Oct 26, 2019 · 3 comments
Closed

Static build not working #19

dartmann opened this issue Oct 26, 2019 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@dartmann
Copy link

dartmann commented Oct 26, 2019

Hi there, I tried to build a statically linked version of the original Ricochet IM client for Ubuntu 18.04. I know ricochet-refresh is its successor and therefore not directly the correct place for my issue. Anyway I hope that somebody can help me out. I am pretty sure that I won't get an answer when I open an issue in the old repo.

My problem is, that the compiled binary won't start with the error: qrc:/ui/main.qml:1 module "QtQuick" plugin "qtquick2plugin" not found. A quick research about this error got me no real help but the information that statically linked Qt programs can not load plugins - but the prebuild binaries are working (and so a static build).

Hopefully somebody can help me. I would also love to read a description of how to succefully build a statically linked version of the Ricochet Refresh client, because I was not able to run your modifed build scripts in buildscripts/linux-static as they should.

Thank you, David

@morganava
Copy link
Collaborator

This bug is a bit obsolete, as the old buildscripts have been removed in alpha and build moved to https://github.com/pospeselr/ricochet-build (a fork of Tor Project's tor-browser-build: https://gitweb.torproject.org/builders/tor-browser-build.git/

We do need to update our documentation for doing dev builds for each platform.

@morganava morganava added the documentation Improvements or additions to documentation label Jan 4, 2021
@milahu
Copy link

milahu commented Aug 24, 2021

I was not able to run your modifed build scripts

why?

Hopefully somebody can help me.

so you need a dynamic build of ricochet.
when i build ricochet-refresh with qmake, i get a dynamic executable:

$ ldd /nix/store/m2yihaibiqwidhhn93cncv671as9fs83-ricochet-refresh-3.0.10/bin/.ricochet-refresh-wrapped | grep -i quick 
        libQt5Quick.so.5 => /nix/store/fnn8pbyfm5zgrfibg7m0xknx5x1s9a95-qtdeclarative-5.15.2/lib/libQt5Quick.so.5 (0x00007f4648d10000)

@m-simonelli
Copy link

Same reason as #106

@m-simonelli m-simonelli closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants