mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +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:
@@ -1,7 +1,8 @@
|
||||
#include "SeerGdbLogWidget.h"
|
||||
#include "SeerUtl.h"
|
||||
#include <QtWidgets/QScrollBar>
|
||||
#include <QtCore/QRegExp>
|
||||
#include <QtCore5Compat/QRegExp>
|
||||
#include <QRegularExpression>
|
||||
#include <QtCore/QDebug>
|
||||
|
||||
SeerGdbLogWidget::SeerGdbLogWidget (QWidget* parent) : SeerLogWidget(parent) {
|
||||
@@ -156,7 +157,7 @@ void SeerGdbLogWidget::processText (const QString& text) {
|
||||
//
|
||||
// Breakpoint 2 at 0x403a40: file explorer.cpp, line 78.
|
||||
//
|
||||
if (str.contains(QRegExp("^Breakpoint ([0-9]+) at (0[xX][0-9a-fA-F]+): file (.*\\,) (line) ([0-9]+)"))) {
|
||||
if (str.contains(QRegularExpression("^Breakpoint ([0-9]+) at (0[xX][0-9a-fA-F]+): file (.*\\,) (line) ([0-9]+)"))) {
|
||||
emit refreshBreakpointsList();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user