background picture of the home page

Think in Code

Mac无边框无法最小化

将.cpp改为.mm 修改代码 #if __APPLE__ #include <unistd.h> #include <mach-o/dyld.h> #include <Cocoa/Cocoa.h> #endif void init_ui() { #if !__APPLE__ setWindo

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