mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Made adaptation to Qt6. Now it compiles without any errors and runs.
More work is required to get rid of Qt5Compat shims
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <QtWidgets/QTreeWidget>
|
||||
#include <QtWidgets/QTreeWidgetItemIterator>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtCore/QRegExp>
|
||||
#include <QtCore5Compat/QRegExp>
|
||||
#include <QtCore/QTimer>
|
||||
#include <QtCore/QDebug>
|
||||
#include <iostream>
|
||||
@@ -122,7 +122,7 @@ void SeerVariableTrackerBrowserWidget::handleText (const QString& text) {
|
||||
qDeleteAll(matches);
|
||||
}
|
||||
|
||||
}else if (text.contains(QRegExp("^([0-9]+)\\^done,value="))) {
|
||||
}else if (text.contains(QRegularExpression("^([0-9]+)\\^done,value="))) {
|
||||
|
||||
//qDebug() << text;
|
||||
|
||||
@@ -137,7 +137,7 @@ void SeerVariableTrackerBrowserWidget::handleText (const QString& text) {
|
||||
matches.first()->setText(2, Seer::filterEscapes(value_text));
|
||||
}
|
||||
|
||||
}else if (text.contains(QRegExp("^([0-9]+)\\^error,msg="))) {
|
||||
}else if (text.contains(QRegularExpression("^([0-9]+)\\^error,msg="))) {
|
||||
|
||||
//qDebug() << text;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user