
Qt
文章平均质量分 70
新小猫钓鱼
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
QThread 的moveToThread 结果并没有在子线程中运行
//> #include #include class MySlotObject; class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent); ~MainWindow(); signals: void sigOperate(); pr原创 2017-08-25 17:01:02 · 1468 阅读 · 0 评论 -
QThread 使用MoveToThread方式 槽函数不执行 分享
上代码: MainWindow.cpp #include "MainWindow.h" #include #include #include "MySlotObject.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { operatButton = new QPushButton(原创 2017-08-25 17:13:35 · 3021 阅读 · 1 评论 -
vs编译时出现大量IP_MULTICAST_IF,IP_MULTICAST_TTL macro redefinition的问题
1>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\ws2def.h(96): error C2220: warning treated as error - no 'object' file generated 1>C:\Program Files (x86)\Windows Kits\8.1\Include\shared\ws2d原创 2017-09-06 18:58:26 · 1862 阅读 · 0 评论 -
Qt 加载了qm文件翻译无效的bug的分享
假设有如下代码: QString suffixlang; if (AL_CHS == mAppLanguage) { suffixlang = "zh_CN"; } else { suffixlang = "en_US"; } const QString &appdatapath = this->applicat原创 2017-10-13 18:54:39 · 4368 阅读 · 0 评论