Open igor-sirotin opened 10 months ago
@chair28980 can you please post results of this commands:
to get OS version:
lsb_release -a
to get status-desktop version (run in status-desktop directory):
git rev-parse HEAD
Perhaps we might want to use realpath
to canonicalize the input not to contain relative paths
@igor-sirotin
chair@table:~/status-desktop$ git rev-parse HEAD
3b162e054125920e6a8d3256946af0f847cebc94
and
chair@table:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Description
This is the problem that @chair28980 is facing.
We use
qmake -query
to get paths to Qt's libraries (and further for/pkgconfig
).But in some cases the returned paths are relative:
Our Makefile code is not prepared for that and eventually fails on
pkg-config --libs Qt5Core
call here: https://github.com/status-im/status-desktop/blob/5d906e7ab4c4eb5fbc07aef852344a65c64ff873/Makefile#L191Though this might be OS issue, I believe our code should be able to handle this. Even a dumb old solution by manually passing and overriding
QTDIR
is fine to me.Additional Information