原创 mosquitto編譯配置libwebsocket庫文件的操作
1.下載編譯libwebsocket源碼 https://github.com/warmcat/libwebsockets/releases 2.下載編譯mosquitto源碼 https://github.com/eclipse/mo
原创 jsoncpp空對象添加以及兩種不同格式的轉換
#include "json/json.h" #include <iostream> /** \brief Write a Value object to a string. * Example Usage: * $g++ str
原创 jsoncpp添加各種類型成員
Json::Value root; root["jsonrpc"]="2.0"; root["id"]=98; root["method"]="call"; root["params"].appe
原创 Nginx服務器HTTP2的搭建
1.下載NGINX源碼,下載並編譯 ./configure --with-http_ssl_module --prefix=/home/damon/dev/3rd/sdk/x86/local_server/nginx --with
原创 libcurl_debug
#ifndef LIBCURL_DEBUG_HPP #define LIBCURL_DEBUG_HPP #include <stdio.h> #include <curl/curl.h> struct data { char t
原创 libcurl_authzid-example
#ifndef LIBCURL_AUTHZID_HPP #define LIBCURL_AUTHZID_HPP /*************************************************************
原创 LZ4源碼交叉編譯
wget https://github.com/lz4/lz4 #解壓縮 tar xf v$lz4_version.tar.gz touch imx_arm imx_arm64 #交叉編譯 32 位庫 make lib CC=
原创 qt arm版本SDK編譯
#!/bin/sh ../configure -prefix /home/damon/dev/3rd/sdk/arm/qt_5_14_2_arm -verbose -opensource -release -confirm-l
原创 Qt工程應用名字修改方式
修改在pro裏修改TARGET = new_projectname
原创 VSCode快捷方式設置
[Desktop Entry] Name = VSCode Type = Application Exec = /home/xxx/dev/tools/VSCode-linux-x64/bin/code # 運行文件 Icon = /