eagleye

2022年8月5日

Qt之TCP编程中 socketDescriptor类型必须为qintptr!!!

摘要: QTcpServer之虚函数必须为:protected: void incomingConnection(qintptr socketDescriptor);不能为:protected: void incomingConnection(int socketDescriptor); 阅读全文

posted @ 2022-08-05 20:05 GoGrid 阅读(353) 评论(0) 推荐(0)

2022年8月4日

Qtcreator中printf()/fprintf()不显示问题处理方法

摘要: 【问题】 使用Qtcreator开发项目中,printf()的诊断信息,在“应用程序输出”窗口不显示。【解决方法】 添加语句:fflush( stdout);或者fflush(stderr);【原因分析】 标准输出( stdout)和标准错误输出(stderr)均有缓存,缓存达到一定程度后,方才输出 阅读全文

posted @ 2022-08-04 19:54 GoGrid 阅读(760) 评论(0) 推荐(0)

2022年6月16日

Android Studio解决Duplicate class 开头的报错内容全过程

摘要: 1.问题 Duplicate class org.intellij.lang.annotations.Identifier found in modules annotations-12.0 (com.intellij:annotations:12.0) and annotations-13.0 ( 阅读全文

posted @ 2022-06-16 17:31 GoGrid 阅读(2791) 评论(0) 推荐(0)

2022年5月26日

开发Jetpack Compose应用,解决Android Studio配置完Kotlin下载慢的问题

摘要: 修改项目(而非模块)build.gradle文件,如下: buildscript { ext { compose_version = '1.1.1' kotlin_version = '1.6.21' } repositories { // 以下四行添加阿里云的仓库地址,方便国内开发者下载相关插件 阅读全文

posted @ 2022-05-26 19:15 GoGrid 阅读(781) 评论(0) 推荐(0)

2022年4月29日

Kotlin反射需要单独添加JAR文件(kotlin-reflect.jar)

摘要: 使用Kotlin的反射API需要在CLASSPATH环境变量中添加单独的JAR文件:kotlin-reflect.jar,这样可以方便程序在不使用反射时减小运行库的大小。 阅读全文

posted @ 2022-04-29 20:55 GoGrid 阅读(383) 评论(0) 推荐(1)

2022年3月29日

EditPlus中编译运行Kotlin程序(*.kt)

摘要: 1.编译Kotlin程序 2.运行Kotlin程序 阅读全文

posted @ 2022-03-29 20:14 GoGrid 阅读(61) 评论(0) 推荐(0)

2022年1月10日

EditPlus中运行Dart程序(*.dart)

摘要: 阅读全文

posted @ 2022-01-10 16:46 GoGrid 阅读(49) 评论(0) 推荐(0)

2021年12月17日

Android Studio复制模块

摘要: 1.进入“Project”视图2.copy模块、Pastemk3.settings.gradle 中引入 该复制模块,include ':xxxxx'4.选中新模块下的 build.gradle,把 applicationId 修改为自己新模块的名称5.修改res/values/strings.xm 阅读全文

posted @ 2021-12-17 11:48 GoGrid 阅读(258) 评论(0) 推荐(0)

2021年9月22日

安装最新版qtpandas(1.04)支持PyQt5

摘要: 1.首先安装pandaspip install pandas 2.然后安装qtpandas1) pip install qtpandas #这样安装的版本是1.03,这个版本的qtpandas依赖的是PyQt4 2)安装支持PyQt5的qtpandas的最新版1.04,下载安装包qtpandas-m 阅读全文

posted @ 2021-09-22 08:42 GoGrid 阅读(667) 评论(0) 推荐(0)

2021年9月18日

成功解决pandas报AttributeError: DataFrame object has no attribute ix错误

摘要: 在实际操作中有时候需要把采集的数据或者分析完的数据保存为excel中,列名按照执行排序,一开始我采用DataFrame的ix方式去实现是可以达到预期的,不过最近发现好像该方法函数被移除了,运行会抛出以下错误: Traceback (most recent call last): File "test 阅读全文

posted @ 2021-09-18 16:38 GoGrid 阅读(2996) 评论(0) 推荐(0)

导航