Tag Archives: KDE

Play Qt dev in Flatpak world

XDG Desktop Portal and Flatpak are more and more in used. If you are using Qt, Flatpak KDE runtime is a good place to start, install pre-built Qt binaries in Flatpak world. But it’s normally for the released versions.

If you want to play with the edge of Qt, for example, dev branch, you can try following steps:

And here is an example at io.qt.examples.dropsite.yaml

Thanks bbhtt for the help in matrix.to: Packaging KDE Apps in Flatpaks channel.

Help to test KDE/Plasma 6 Wayland

KDE developers are working hard on Plasma 6 Wayland. See also KDE Plasma 6 Development Progressing Well, Plasma 6 Beta Possible In A Few Months and KDE Plasma 6 Wayland Session: “It’s Been Working Great!”.

For example, you can install Neon Developer Edition via KDE neon: Live Images. After installation, you can upgrade it to KDE/Plasma 6,


sudo apt update
sudo apt install neon-settings-2
sudo apt full-upgrade

See also Neon Unstable now using Qt 6 Builds of Frameworks and Plasma.

If you find any bug, please help to report to KDE bugtracker. Here is my first ticket recently.

KDE 4.0 发布事件视频

KDE 4.0 发布事件已经一周了。

很多视频在 Google Video 上都可以见到了。搜索“KDE 4.0 Release Event”即可。

KDE 4.0 Release Event Keynote – Aaron Seigo
KDE 4.0 Release Event – Jeremy Whiting
KDE 4.0 Release Event – Haarvard Nord
KDE 4.0 Release Event – Paul Adams
KDE 4.0 Release Event – Aaron Baalbergen (Linux MCE)
KDE 4.0 Release Event – Jeff Mitchell
KDE 4.0 Release Event – Kyle Cunningham and Aron Stansvik

鉴于国内对上述网站进行了屏蔽,我下载了视频并且放到国内的服务器上了,供大家学习:
FTP
HTTP

一个老外也提供了 ogg 格式的下载:
Franz Keferboeck: release event video update…

KDE 4.0 发布了

特别感谢 千里孤坟(Lie_Ex) 翻译了 KDE 4.0 发布的相关信息!

KDE 主站
KDE 中国
KDE 4.0 发布公告
KDE 4.0 漫游概览
KDE 4.0 桌面:Plasma、KRunner、KickOff和KWin
KDE 4.0 应用程序:Dolphin、Okular、Gwenview、System Settings和Konsole
KDE 4.0 教学程序:Kalzium、Parley、Marble、Blinken、KStars和KTouch
KDE 4.0 游戏:KGoldrunner、KFourInLine、LSkat、KJumpingCube、KSudoku和Konquest

KDE 4中农历系统代码讨论

代码主页:
http://code.google.com/p/kcalendar/

KDE 4.0已经非常临近了,但非常遗憾的是KDE系统中一直没有面向中国以及东亚用户使用的农历。

最近基于ccal的代码,做了一些封装,目前基本可用,但是效率还有待提高。

欢迎大家测试并且提出修改意见。

代码使用方法:
有关如何构建KDE 4开发环境和KDE 4应用开发,请参考:
http://techbase.kde.org/Getting_Started/Build/KDE4
http://techbase.kde.org/Development/Tutorials#Introduction_To_KDE_4_Programming

只需要kdelibs以及之前的步骤,完成后。
将kde4/kcalendarsystemchinese.h, kde4/kcalendarsystemchinese.cpp,
kde4/kcalendarsystem.cpp复制到kde/src/KDE/kdelibs/kdecore/date下。

将kde4/CMakeList.txt复制到kde/src/KDE/kdelibs/kdecore下。

切换到kde/src/KDE/kdelibs下,cmakekde即可编译新的库。

有关测试用例:
example/test用来测试各API接口。
example/guitest使用KDatePicker测试,比较慢的说,请大家稍等待一下。

编译方法:
cd example/test
cmake .
make

cd example/guitest
cmake .
make

主要问题,addMonths还需要改进,目前的算法太耗时间了,加1000个月时,基本无法忍受(test中)。

讨论方法:
kde-china邮件列表
http://mail.kde.org/mailman/listinfo/kde-china

kde-cn irc
irc://irc.freenode.net/#kde-cn

我参考的相关文档

http://thunder.cwru.edu/ccal/index.html
http://thunder.cwru.edu/ccal/rule.htm
http://www.math.nus.edu.sg/aslaksen/calendar/chinese.html

有关农历年份,我参考了这篇文档
http://en.wikipedia.org/wiki/Chinese_calendar