mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-10 13:46:35 +00:00
We've introduced a regression in
9f633f0fcc
where model data for navbar buttons are malformed, which results in them being rendered
incorrectly (as letter identicons, instead of icon buttons)
The reason this was happening was because the model data for the
navbar buttons was not properly initialized due to a mixed usage of
positioned and named arguments of the `initItem()` APIs in `SectionItem`
models.
Fixes #5949
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
CPP App
Setup Linux
:
- conancenter
Execute
conan remote list
. It should return this line among the results.
conancenter: https://center.conan.io [Verify SSL: True]
If it doesnt, consider upgrading conan with pip install conan --upgrade
and then executing. conan remote add -i 0 conancenter https://center.conan.io
. See conan's documentation for more info.
- conan libstdc++11 This applies to linux: the default conan profile does not work, since GCC uses the new C++ ABI since version 5.1 and conan, for compatibility purposes uses the old C++ ABI. Execute this to update the profile:
conan profile update settings.compiler.libcxx=libstdc++11 default
- Install dependencies:
cd build
conan install .. -s build_type=Release --build=missing
Setup OS X
:
- Create
conan
profile~/.conan/profiles/clang
:
[settings]
compiler=apple-clang
compiler.version=12.0
compiler.libcxx=libc++
arch=x86_64
os=Macos
build_type=Release
[env]
CC=/usr/bin/clang
CXX=/usr/bin/clang++
- Install dependecies:
cd build
conan install .. --profile=clang --build=missing
Buid & test & run:
conan build ..
ctest -VV -C Release
./status-desktop
Instead of conan build ..
CMake may be used:
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build . --config Release
Description
Languages
QML
39.4%
JavaScript
29.5%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.6%