refactor: 改用qmake(.pro)构建,兼容Qt 5.9

- 移除CMakeLists.txt,改用AiAnalysis.pro
- 修复Qt 5.9兼容性:QWheelEvent::posF()、QString::SkipEmptyParts、static_cast信号连接
- 更新README为qmake构建说明
- 删除CMake build目录
This commit is contained in:
iorebuild
2026-04-30 12:59:28 +08:00
parent 74edf51a75
commit 352e508adb
5 changed files with 41 additions and 61 deletions

View File

@@ -394,7 +394,7 @@ void PlotWidget::drawLegend(QPainter &painter)
void PlotWidget::wheelEvent(QWheelEvent *event)
{
QRectF area = plotArea();
if (!area.contains(event->position())) return;
if (!area.contains(event->posF())) return;
double zoomFactor = 1.15;
if (event->angleDelta().y() < 0) {