随笔分类 -  QT

QSettings 蛋疼的General group
摘要:General组是QSetting默认的group,如果你的conf/ini文件中使用了该组,请不要指定组名访问key 如果要使用这个组名,请务必在前面加百分号% [General] device=siware_1 [%General] xyz=abcd 读出的结果 ("General/xyz", 阅读全文
posted @ 2023-07-17 21:04 i元亨利贞 阅读(185) 评论(0) 推荐(0)
QT multiple definition of 问题
摘要:在 SIWARESCANNER_H 中 #ifndef SIWARESCANNER_H#define SIWARESCANNER_H#include "nirsensor.h"#include <QObject>#include <QTimer>extern "C"{#include "Operat 阅读全文
posted @ 2023-07-17 17:54 i元亨利贞 阅读(88) 评论(0) 推荐(0)
qt 5.15.0 configure --help
摘要:如何配置QT安装的?./configure --help + cd qtbase + /home/deyun/download/qt-everywhere-src-5.15.0/qtbase/configure -top-level --help Usage: configure [options] 阅读全文
posted @ 2022-01-04 16:23 i元亨利贞 阅读(256) 评论(0) 推荐(0)
qt 5.15.0的features
摘要:./configure -list-features + cd qtbase + /home/deyun/download/qt-everywhere-src-5.15.0/qtbase/configure -top-level -list-features Creating qmake... .. 阅读全文
posted @ 2022-01-04 16:10 i元亨利贞 阅读(214) 评论(0) 推荐(0)
PyQt5 ImportError: cannot import name 'QtChart'
摘要:PyQt5==5.13.0 ImportError: cannot import name 'QtChart' 解决方案 >pip install PyQtChart 阅读全文
posted @ 2020-07-26 12:58 i元亨利贞 阅读(2080) 评论(0) 推荐(0)
ubuntu下编译为知笔记
摘要:先把为知笔记官方的教程放在前面 一、 准备环境 Linux (Ubuntu) Qt 安装 5.7.0 for Linux 64-bit (715 MB) 或者更高版本 http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource 阅读全文
posted @ 2017-06-23 11:54 i元亨利贞 阅读(3730) 评论(1) 推荐(0)
通过修改qt设置,解决LINK : fatal error LNK1104: 无法打开文件“kernel32.lib”
摘要:编译为知笔记源码的时候遇到的第一个错误 LINK : fatal error LNK1104: 无法打开文件“kernel32.lib”经研究发现是qt使用的本地编译连接工具cl.exe找不到 windows sdk的lib文件导致 找到lib文件的文件路径 like this C:\Program 阅读全文
posted @ 2017-05-17 17:55 i元亨利贞 阅读(6266) 评论(0) 推荐(0)