随笔分类 - OS & UOS
摘要:找了半天,最终发现是centOS默认设置网卡过滤掉udp组播包,而已经知道几台机器(包括ubuntu和debian)默认不过滤。 最终修改/etc/sysctl.conf配置文件。 sudo vi /etc/sysctl.conf 改为: net.ipv4.conf.default.rp_filte
阅读全文
摘要:coredump和应用日志如下图: 造成原因: 代码:QDBusInterface iface("com.deepin.movie", "/", "com.deepin.movie");iface.asyncCall("openFiles", toOpenFiles);原因:asyncCall在ar
阅读全文
摘要:前置条件: qputenv("QT_WAYLAND_SHELL_INTEGRATION", "kwayland-shell"); QSurfaceFormat format;format.setRenderableType(QSurfaceFormat::OpenGLES); format.setD
阅读全文
摘要:详见各平台简单窗口绘制。 gcc hello-x.c -L/usr/X11R6/lib -lX11 -o hello-x #include <X11/Xlib.h>#include <stdio.h>#include <stdlib.h>#include <string.h> int main(vo
阅读全文

浙公网安备 33010602011771号