background picture of the home page

Think in Code

Qt进程单例

利用共享内存通信,第二次打开程序时,激活第一次打开的进程 #include <QApplication> #include <QSharedMemory> #include <QTimer> int main(int argc, char *argv[]) { QApplication a(ar

thumbnail of the cover of the post

CMake编译Android iOS库

CMake编译Android/iOS库 CMakeLists.txt project(RayStreamNet) cmake_minimum_required(VERSION 3.1) add_compile_options(-fvisibility=hidden -std=c++14 -fPIC

thumbnail of the cover of the post

Qt5 9 LTS 安卓环境搭建

Qt5.9 LTS 安卓环境搭建 Qt5.9 LTS 安卓环境搭建 1. Qt安装时 需要勾选安卓编译环境 2. Java SDK:1.8 下载地址: https://www.oracle.com/java/technologies/javase-jdk8-downloads.html 3. And

thumbnail of the cover of the post

openssl生成证书

openssl生成证书 使用openssl生成 openssl genrsa -out ./key.pem 2048 openssl req -new -x509 -key ./key.pem -out cert.pem -days 3650 使用go标准库生成 go run $GOROOT/src

thumbnail of the cover of the post

Windows端口转发

Windows端口转发 显示当前所有规则 netsh interface portproxy show v4tov4 添加 netsh interface portproxy add v4tov4 listenport=8088 connectaddress=192.168.88.128 conne

thumbnail of the cover of the post