Go to file
jolavillette 819433027a fix(gui): guard GXS-id Q_DECLARE_METATYPE for Qt5 only (Qt6 AUTOMOC)
Under Qt6 + CMake the build failed compiling mocs_compilation.cpp with
'specialization of QMetaTypeId<...> after instantiation' for RsGxsId,
RsGxsGroupId and RsGxsMessageId.

CMake AUTOMOC concatenates every moc_*.cpp into a single translation unit; in
Qt6 these complete types get their QMetaTypeId implicitly instantiated by one
moc section, so the explicit Q_DECLARE_METATYPE in a later section becomes an
illegal re-specialization. qmake compiles each moc separately and never hits
this. Qt6 auto-registers complete types with the metatype system, so the
declaration is redundant there; guard it to Qt5 only. No behavior change on
Qt5; QVariant and queued connections keep working on Qt6 via auto-registration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 16:58:11 +02:00
.github/workflows ci(cmake): add Ubuntu Qt6 CMake build workflow 2026-06-15 16:41:41 +02:00
.reuse Improve license according to REUSE 3.0 2019-12-18 17:57:20 +01:00
build_scripts Merge branch 'master' into CMakeMigration-Modular-CrossPlatform 2026-06-14 20:14:21 +02:00
data .desktop file remove absolute path for icons; fixes #2925 2025-08-12 22:39:27 +02:00
jsonapi-generator Integrate python3 JSON API generator into libretroshare 2021-12-13 18:46:56 +01:00
libbitdht@4355ea96b2 Purge retroshare-service stale Android code 2026-06-14 16:24:55 +02:00
libretroshare@cafaaa1964 Update submodules 2026-06-14 15:53:03 +02:00
LICENSES Improve license according to REUSE 3.0 2019-12-18 17:57:20 +01:00
openpgpsdk@40db9d6bfe Purge retroshare-service stale Android code 2026-06-14 16:24:55 +02:00
plugins build(cmake): address 2nd review round (deps, naming, per-target hacks) 2026-06-05 18:14:18 +02:00
retroshare-friendserver build(friendserver): link OpenSSL again (needed via inlined libretroshare headers) 2026-06-06 19:01:11 +02:00
retroshare-gui fix(gui): guard GXS-id Q_DECLARE_METATYPE for Qt5 only (Qt6 AUTOMOC) 2026-06-15 16:58:11 +02:00
retroshare-service Merge branch 'master' into CMakeMigration-Modular-CrossPlatform 2026-06-14 20:14:21 +02:00
retroshare-webui@a28d77fe9a Purge retroshare-service stale Android code 2026-06-14 16:24:55 +02:00
supportlibs Merge branch 'master' into CMakeMigration-Modular-CrossPlatform 2026-06-15 00:20:57 +02:00
tests Fix G10h4ck contributions copyright attribution 2026-06-14 16:10:56 +02:00
.gitignore Wiki: Core event logic and cleanup 2026-01-05 23:16:00 +00:00
.gitlab-ci.yml More attempts at fixing GitlabCI 2023-11-27 02:08:21 +01:00
.gitmodules use absolute URLs for submodules 2026-01-18 10:05:39 -05:00
.travis.yml Disable Travis CI Linux to save scarce credits 2021-09-02 12:07:04 +02:00
CMakeLists.txt build(cmake): address 2nd review round (deps, naming, per-target hacks) 2026-06-05 18:14:18 +02:00
COPYING Add COPYING 2020-04-01 16:35:22 +02:00
README.md Fix & improve guide 2025-09-17 21:43:51 +02:00
retroshare.pri Fix G10h4ck contributions copyright attribution 2026-06-14 16:10:56 +02:00
RetroShare.pro added switch to compile with rnp or openpgp-sdk 2024-08-11 16:43:20 +02:00

RetroShare

RetroShare is a decentralized, private, secure, cross-platform, communication toolkit. RetroShare provides file sharing, chat, messages, forums, channels, boards and more.

GitHub release Downloads MINGW64 Qt5 Build UCRT64 Qt5 Build MINGW64 Qt6 Build GNU/Linux (via Gitlab CI) libretroshare GNU/Linux, Android (via Gitlab CI) Ask DeepWiki

Get the source

Clone this repository, enter the directory and then get the submodules with the following command

git submodule update --init --remote --force libbitdht/ libretroshare/ openpgpsdk/

Compilation

Short of comprehensive and updated documentation on how to build RetroShare (for the many supported platforms it runs on), scripts and recipes are provided in the aim of creating packages for the supported platforms (and more) in the build_scripts directory of this repository.

Compilation on Windows

Follow this file : WindowsMSys2_InstallGuide

With QtCreator : Windows-QtCreator-InstallGuide

Compilation on MacOSX

Follow this file : MacOS_X_InstallGuide

Compilation on Linux

Follow this file : Linux_InstallGuide

Releases

Latest release here

Other Builds RetroShare Downloads

Documentation