# qt相关 **Repository Path**: mathematicsX/qt-correlation ## Basic Information - **Project Name**: qt相关 - **Description**: 里面的关于qt多线程的写得很不错,路径是/tech/QtThread - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2020-09-06 - **Last Updated**: 2022-03-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Qt ## 基本 [多线程下,信号槽对引用参数的处理](https://github.com/czyt1988/czyBlog/tree/master/tech/threadSignalSlot) ## 多线程 [多线总结](https://github.com/czyt1988/czyBlog/tree/master/tech/QtThread) 5.14.2编译的一些问题: 1 C:\Users\lenovo\Downloads\qt-correlation\tech\QtThread\src\ThreadObject.cpp:104: error: cast from 'Qt::HANDLE {aka void*}' to 'int' loses precision [-fpermissive] emit message(QString("%1->%2,thread id:%3").arg(__FUNCTION__).arg(__FILE__).arg((int)QThread::currentThreadId())); ^ currentThreadId返回的是Qt::HANDLE,转成int会损失精度,改成long long 即可 改成 emit message(QString("%1->%2,thread id:%3").arg(__FUNCTION__).arg(__FILE__).arg((long long )QThread::currentThreadId())); sleep未定义的解决:加QThread头文件,改为用QThread::sleep(1); ## 数据绘图相关 [Qt5.7以下QtChart配置](https://github.com/czyt1988/czyBlog/tree/master/tech/QtChartInstall) [Qt2D绘图控件的对比](https://github.com/czyt1988/czyBlog/tree/master/tech/chartCmp) ## 界面 [QtableView实现斜线表头](https://github.com/czyt1988/czyBlog/tree/master/tech/connerButton) [QRoundBar-圆形进度条的修正](https://github.com/czyt1988/czyBlog/tree/master/tech/QRoundBarFix) [解锁Qt属性表控件-QtPropertyBrowser](https://github.com/czyt1988/czyBlog/tree/master/tech/QtPropertyBrowser) ## IO相关 [QDataStream writeBytes与writeRawData区别](https://github.com/czyt1988/czyBlog/tree/master/tech/QDataStreamtTest) [Windows下快速读取Excel](https://github.com/czyt1988/czyBlog/tree/master/tech/fastReadExcel) ## 奇怪的错误记录 [QScopedPointer forward_declared编译错误](https://github.com/czyt1988/czyBlog/tree/master/tech/QScopedPointer_forward_declared) # C++ [数据溢出测试](https://github.com/czyt1988/czyBlog/tree/master/tech/OverflowTest) [C++11的数据类型检查](https://github.com/czyt1988/czyBlog/tree/master/tech/typeCheck) [lambda陷阱](https://github.com/czyt1988/czyBlog/tree/master/tech/lambda_ref_trap) # 算法 ## 号处理 [FFT之后的那些事情](https://github.com/czyt1988/czyBlog/tree/master/tech/afterUseFFT)