前提事项: 1.new QTimer()时不能加this 2.子线程中添加 exec();,启动子线程的本地消息循环 //创建子线程 mytimer* timer = new mytimer; timer->start(); qDebug()<<"111"; //核心 m_timer = new Q ...
分类:
编程语言 时间:
2020-06-28 00:11:22
阅读次数:
75
#-*- codeing = utf-8 -*- #@Time : 2020/6/14 15:10 #@Author : zhangfudong #@FILE :testSqlite.py #@Software : PyCharm import sqlite3 ## python 支持的轻便的数据库 ...
分类:
数据库 时间:
2020-06-27 20:24:34
阅读次数:
74
文件拖拽: import sys from PyQt5.QtWidgets import QApplication, QWidget, QLabel,QPushButton,QLineEdit,QFileDialog class DropLineEdit(QLineEdit): #重写QLineEd ...
分类:
其他好文 时间:
2020-06-27 00:18:47
阅读次数:
63
1、创建数据库 2、导入相应jar包 3、创建相应的sqlite或者导入相应sqlite 出现问题:java.lang.ClassNotFoundException: org.sqlite.JDBC project structure 打开方式:ctrl + shift + alt + s 新建ja ...
分类:
数据库 时间:
2020-06-26 23:58:16
阅读次数:
127
“Database is locked” errors SQLite is meant to be a lightweight database, and thus can’t support a high level of concurrency. OperationalError: databa ...
分类:
数据库 时间:
2020-06-26 18:20:12
阅读次数:
165
修改了数据库表名之后,更新数据库时跳错: django.db.utils.NotSupportedError: Renaming the 'app_class' table while in a transaction is not supported on SQLite because it wo ...
分类:
数据库 时间:
2020-06-26 18:10:51
阅读次数:
72
之前曾经用过VS2005做DLL文件,然后使用VB调用,非常顺畅,无须任何设置就可以调用到,但是现在使用了VS2013之后就发现了问题,VB调用C#做的dll就是不行,不是报自动化错误,就是报没有DLL入口,经过一天的折腾,笨点,没辙,终于测试通过了: 1、VS2013做的C#组件,需要注意的是: ...
package com.ymw.sqlite.view;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint; ...
分类:
其他好文 时间:
2020-06-25 15:52:51
阅读次数:
153
Qt Release 构建时强制包含调试信息 https://stackoverflow.com/questions/6993061/build-qt-in-release-with-debug-info-mode 在Qt5中,调用时configure,只需添加选项-force-debug-info ...
分类:
其他好文 时间:
2020-06-24 23:39:52
阅读次数:
74
将libcef_dll_wrapper编译方式设置为MD 因为使用的Qt是动态链接的,而cef模式使用的是静态链接的方式,所以在使用前需要将cef编译方式改成Multi-thread DLL(/MD),修改路径在在C/C++->Code Generation下的Runtime Library。重新编 ...
分类:
其他好文 时间:
2020-06-24 19:50:26
阅读次数:
58