KDE/开发环境:修订间差异

来自OSSmedia
< KDE
无编辑摘要
第8行: 第8行:
  export prefix=mingw-w64-clang-x86_64
  export prefix=mingw-w64-clang-x86_64
  pacman -Syu $prefix-base-devel $prefix-extra-cmake-modules $prefix-cmake $prefix-kirigami $prefix-ki18n $prefix-kcoreaddons $prefix-breeze $prefix-kiconthemes $prefix-qt6-base $prefix-qt6-declarative $prefix-qqc2-desktop-style
  pacman -Syu $prefix-base-devel $prefix-extra-cmake-modules $prefix-cmake $prefix-kirigami $prefix-ki18n $prefix-kcoreaddons $prefix-breeze $prefix-kiconthemes $prefix-qt6-base $prefix-qt6-declarative $prefix-qqc2-desktop-style
pacman -S $prefix-kf6


=== Arch Linux ===
=== Arch Linux ===
  sudo pacman -S base-devel extra-cmake-modules cmake kirigami ki18n kcoreaddons breeze kiconthemes qt6-base qt6-declarative qqc2-desktop-style
  sudo pacman -S base-devel kf6 extra-cmake-modules cmake kirigami ki18n kcoreaddons breeze kiconthemes qt6-base qt6-declarative qqc2-desktop-style

2024年11月15日 (五) 08:59的版本

安装

Windows

看起来,使用clang可以编译KF6,老版本的mingw64只有KF5。以下的命令从powershell或者cmd执行。

winget install msys2.msys2

用这个命令可以快捷进入msys2 CLANG64

C:/msys64/msys2_shell.cmd -defterm -here -no-start -clang64

以下的命令在msys2 CLANG64内执行

export prefix=mingw-w64-clang-x86_64
pacman -Syu $prefix-base-devel $prefix-extra-cmake-modules $prefix-cmake $prefix-kirigami $prefix-ki18n $prefix-kcoreaddons $prefix-breeze $prefix-kiconthemes $prefix-qt6-base $prefix-qt6-declarative $prefix-qqc2-desktop-style
pacman -S $prefix-kf6

Arch Linux

sudo pacman -S base-devel kf6 extra-cmake-modules cmake kirigami ki18n kcoreaddons breeze kiconthemes qt6-base qt6-declarative qqc2-desktop-style