- 博客(51)
- 资源 (1)
- 收藏
- 关注
原创 Avalonia下ViewLocator+DryIoc实现的模块化开发
【代码】Avalonia下ViewLocator+DryIoc实现的模块化开发。
2024-11-06 15:29:39
225
原创 qt quick发布程序启动失败
根据提示的模块找到对应的import语句,然后去根目录里找,之后复制文件夹,粘贴到发布的文件夹相应位置。如:import qt.labs.platment 那么在安装目录里,会在Qt\labs\platment下有对应的dll。把platment整个文件夹拷贝到release文件夹相应的位置,再次点击RUN,发现程序跑起来了。注:发布命令:windeployqt D:\work\release\xxx.exe --qmldir D:\somesoft\Qt\Qt5.12.0\mingw73_64\qml。
2023-11-09 17:14:36
338
原创 opencv 直线检测 HoughLines HoughLinesP
【代码】opencv 直线检测 HoughLines HoughLinesP。
2023-07-23 15:20:01
896
原创 opencv 矩形边框 boundingRect minAreaRect approxPolyDP
【代码】opencv 矩形边框 boundingRect minAreaRect approxPolyDP。
2023-07-22 20:19:20
829
原创 opencv 轮廓检测 findContours drawContours
【代码】opencv 轮廓检测 findContours drawContours。
2023-07-22 13:28:14
770
原创 opencv 图像距离变换 distanceTransform
图像距离变换:计算图像中每一个非零点距离离自己最近的零点的距离,然后通过二值化0与非0绘制图像。非0到最近0的最近距离(街区)
2023-07-21 19:45:01
796
原创 visual studio配置调用c++ dll opencv为例
1,配置VC++目录,包含目录和库目录。3,生成目录下包含对应的dll文件。2,链接器->输入->包含目录。
2023-07-18 08:45:04
809
原创 QML学习笔记4(qml ListView QAbstractListModel)
roleNames方法中,id,age,name用来在qml中调用。1, 需要实现data,roleNames,rowCount重写。2,创建基于QAbstractListModel的数据列表。3,枚举类,用来关联到实体对象的信息,类似于表格的列。2,要实现修改数据,需要重写方法setData方法。
2023-06-21 15:59:18
432
原创 QML学习笔记1(qml调用c++函数)
Myclass,1,0:用于导入的名称,主版本和次版本,import Myclass 1.0。3,public slots和Q_INVOKABLE 需要找到区别。2,Q_PROPERTY 宏属性定义,暴露qml调用的属性。1,注册类,有点像C# ioc容器,实现原理可能类似?Test:用于qml调用的组件或对象。TestClass:类名称。
2023-06-11 19:42:09
128
原创 Java SDK环境(windows)
变量值:D:\android-sdk-windows(sdk的安装目录)变量值:%ANDROID_HOME%\platform-tools。变量值:%ANDROID_HOME%\tools。cmd 执行命令java -version。变量名:ANDROID_HOME。
2023-04-11 16:09:34
205
原创 VS2022离线安装bat脚本
echo off & color 0A cd /d %~dp0 set currentPath=%cd%\downloadecho currentPath=%currentPath%call vs_enterprise.exe --layout "%currentPath%" --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.V
2023-04-06 15:21:12
214
原创 Sqlite
using App41.Models;using SQLite;using System;using System.Collections.Generic;using System.IO;using System.Text;namespace App{ public class SQLiteHelper { public string connstr = Path.Combine(Environment.GetFolderPath(Environment.Sp...
2022-01-25 16:56:00
78
原创 sharpmap使用geoserverd的WMS服务加载地图
string url = "http://127.0.0.1:8080/geoserver/gismap_car/wms"; SharpMap.Layers.WmsLayer wmsL = new SharpMap.Layers.WmsLayer("test", url); //转换为PNG wmsL.SetImageFormat("image/png"); //版本 wmsL.Versi...
2021-08-28 18:39:14
406
原创 flutter 开发环境
-------------------------------------------------学习网站https://flutter.cn/docs/get-started/install/windows-------------------------------------------------0,设置flutter源,安装Git-2.27.0-64-bit,获取Flutter-SDK。 0.1 环境变量(用户变量) PUB_HOSTED_URL=https:...
2020-10-29 21:40:35
204
原创 React环境搭建
全局环境1,安装node-v12.18.4-x64.msi2,安装好后键入node -v 以及npm -v 来测试是否安装成功3,全局安装cnpm包 npm install cnpm -g,在中国 npm install cnpm -g --registry=https://r.npm.taobao.org4,npm i yarn -g5,全局安装create-react-app包 yarn create react-app my-app-----------------------------
2020-10-29 21:38:43
168
原创 centos7注册服务
上传程序 注册Service创建文件服务配置文件vim /etc/systemd/system/tyw.service********************************************************************[Unit]Description=TYWService_config[Service]WorkingDirectory=/home/netcoreExecStart=/usr/bin/dotnet /home/netcore/TellY
2020-10-29 21:16:34
468
原创 centos7安装mysql
进入目录#cd /usr/local/src/安装mysql#wget http://repo.mysql.com/mysql57-community-release-el7-8.noarch.rpm#rpm -ivh mysql57-community-release-el7-8.noarch.rpm#yum -y install mysql-server启动msyql#systemctl start mysqld获取安装时的临时密码(在第一次登录时就是用这个密码)grep 'tempo
2020-10-29 21:12:08
111
原创 centos7安装配置nginx
yum install -y nginxsystemctl start nginx.servicesystemctl enable nginx.servicesystemctl stop nginx.servicesystemctl restart nginx.service修改默认更目录vim /etc/nginx/nginx.confserver { listen 80 default_server; listen [::]:80...
2020-10-29 21:07:54
134
原创 Cenos安装FTP
安装 vsftpdyum -y install vsftpd设置开机启动systemctl enable vsftpd.service启动 vsftpd 服务systemctl start vsftpd.service添加用户useradd netcore -s /sbin/nologin设置密码,输入两次确认passwd netcore修改配置vim /etc/vsftpd/vsftpd.confanonymous_enable = NO
2020-09-25 20:09:30
98
原创 在Cenos中安装asp.net core3.1
在Cenos中安装asp.net core3.1进入目录cd /usr/local/src/添加yum源sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm开始安装sudo yum install dotnet-sdk-3.1命令查看版本dotnet --version...
2020-09-25 20:01:35
100
原创 c# 享元模式简单例子
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 享元模式{ public abstract class abStudent { public string Na...
2018-06-08 11:11:55
678
qt 客户端使用qrpc调用.net core的服务端的例子,QT 5.15 64位
2023-12-07
Visual Leak Detector 下载地址 https://kinddragon.github.io/vld/
2023-09-08
webpack,react不用脚手架创建项目
2020-10-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人