Posts in 2025
  • fixing lsp for Windows

    Sunday, February 16, 2025 in Cpp

    For a long time, clangd on Windows is not quite usable without Visual Studio. It’s time for a fix! cannot find <iostream> First we need to fix the compile_commands.json . from the experience of project soda_clang, I quickly added the GCC …

    Read more

  • Packaging MSYS2 as virtual environment

    Sunday, February 09, 2025 in Cpp

    bleachbit supports Windows, but the app looks somewhat ugly: no hidpi. Also, the Windows 10 style is even worse. I don’t even want to take a screenshot. I think gtk is also using custom rendering, similar to Qt. because I tried Mica for Windows …

    Read more

  • Building Clazy

    Monday, February 03, 2025 in Cpp

    Following https://github.com/KDE/clazy?tab=readme-ov-file#windows I checked out llvm-19.1.7. build llvm takes 4 hours… install llvm installed llvm via cmake --install . and add bin-path to Path via the shortcut rundll32 …

    Read more

  • Add Icon to Qt Exe

    Monday, February 03, 2025 in Cpp

    Find Icon https://fonts.google.com/icons edit it add colors convert to ico add to project cmake: set(app_icon_resource_windows "${CMAKE_CURRENT_SOURCE_DIR}/app.rc") qt_add_executable(appqtquick_untitled main.cpp ${app_icon_resource_windows} ) …

    Read more

  • Fixing Qt Deploy

    Monday, February 03, 2025 in Cpp

    the project: https://pypi.org/project/windeployqt/ install Qt Install Qt Creator on Windows is complex even using MSYS2. and it didn’t create useful shortcuts. I write a Python package for it: https://pypi.org/project/install-qt-creator/ deploy …

    Read more