How to Compile Nextcloud Desktop App on Windows (MSVC)

In this guide, we will walk through the complete process of setting up the environment, compiling dependencies, and building the Nextcloud Desktop Client from source using MSVC 2022 and Qt 6.

1. Install Qt Components

First, download the AQT INSTALL command-line tool: D … Continue reading How to Compile Nextcloud Desktop App on Windows (MSVC)

[中文] Reflection for C++26! 终于等到你

C++26 定稿,Reflection 提案投票通过

2025 年 6 月 21 日,著名微软工程师、C++ 标准委员会委员 Herb Sutter 在其个人博客发布了一篇博文《Trip report: June 2025 ISO C++ standards meeting (Sofia, Bulgaria) – Sutter’s Mill》。

A few minutes ago, the C++ committee voted the fir … Continue reading [中文] Reflection for C++26! 终于等到你

Introducing SvcHostify: Simplify Hosting Custom DLL Services

Have you ever struggled with hosting your own DLLs as Windows services using svchost.exe? Many developers face challenges due to the undocumented and restrictive nature of svchost.exe. That’s where SvcHostify comes in—a lightweight, open-source tool designed to make ho … Continue reading Introducing SvcHostify: Simplify Hosting Custom DLL Services

Windows String Representations and Simple Conversions via __bstr_t

The Windows NT kernel (from WinNT to Windows 11) internally uses UTF-16 strings by default, including Windows Drivers, Native Applications and COM clients and servers, etc. All other common encodings like UTF-8, GBK, GB18030, BIG-5 should always be converted to UTF-16 befor … Continue reading Windows String Representations and Simple Conversions via __bstr_t

Inside std::source_location

Since C++20, the new revolutionary standard has introduced a meta class named std::source_location which provides information about the current line number, file name and function name of the executing context. This new class is included in a standalone header <source_loc … Continue reading Inside std::source_location