Skip to content

Commit

Permalink
Bug Fix: QRegularExpression-related compile error
Browse files Browse the repository at this point in the history
b31e650 updated regexps to
QRegularExpression for Qt6 compatibility, but did not include
QRegularExpression.h.

While this has apparently not been a problem in most environments, it breaks
the build when using `CONFIG+=headless` (`CONFIG+="headless nosound"` is
unaffected).

This commit adds the includes.

Fixes jamulussoftware#2272
  • Loading branch information
hoffie committed Jan 25, 2022
1 parent 2501880 commit d6f97af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/chatdlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <QAccessible>
#include <QDesktopServices>
#include <QMessageBox>
#include <QRegularExpression>
#include "global.h"
#include "util.h"
#include "ui_chatdlgbase.h"
Expand Down
1 change: 1 addition & 0 deletions src/connectdlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <QTimer>
#include <QLocale>
#include <QtConcurrent>
#include <QRegularExpression>
#include "global.h"
#include "util.h"
#include "settings.h"
Expand Down
1 change: 1 addition & 0 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#endif
#include <QFile>
#include <QDirIterator>
#include <QRegularExpression>
#include <QTranslator>
#include <QLibraryInfo>
#include <QUrl>
Expand Down

0 comments on commit d6f97af

Please sign in to comment.