09 2023 档案
摘要:Makefile 优化编译速度 编写一个通用的 Makefile 模板,用来实现任意工程的编译管理架构搭建。 这里我主要有两种想法: 1. 用一个 Makefile 管理所有的文件。所有的文件都放到最顶层的 Makefile 中,一次性直接加载所有的 .c 文件完成编译。 2. 不同目录用不同的 M
阅读全文
摘要:在需要验证可信来源时,需要用到签名验签。因此,需要使用私钥加密,公钥解密,取得被加密的信息。这就会使用到私钥加密,公钥解密的场景了。 参考: https://github.com/openssl/openssl/issues/20493 https://blog.csdn.net/wq897387/
阅读全文
摘要:adb tool 分为 adb 和 adbd。 adb 用作 host 使用,包含了client和server,adbd 则作为 device 端,在 android 源码目录下,共用一套源码。但 android 源码下的 adb,不支持把 adb 编译为 android 平台的 adb clien
阅读全文
摘要:#include <QDesktopWidget> void MainWindow::tableWidget_test_showMenu(const QPoint pos) { tableWidget_test_menu->move(cursor().pos()); tableWidget_test
阅读全文
摘要:使用qprocess启动进程后,随着点击主界面,被启动的进程会显示在下层。使用代码的方式将其显示在顶层。 #include <windows.h> int g_winState = SW_SHOWNORMAL; BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPA
阅读全文