Commit 9e266fab authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some compile error against qt6

parent b7a17340
Pipeline #116399 failed with stage
in 1 minute and 23 seconds
......@@ -17,9 +17,10 @@
int main(int argc, char **argv)
{
// enable high dpi support
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
#endif
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("ksystemlog");
......
......@@ -8,6 +8,7 @@
#include <KFormat>
#include <KLocalizedString>
#include <QRegExp>
#include "ksystemlog_debug.h"
......
......@@ -15,7 +15,7 @@
#include "parsingHelper.h"
#include "cupsAccessLogMode.h"
#include <QRegExp>
class CupsAccessAnalyzer : public FileAnalyzer
{
Q_OBJECT
......
......@@ -15,7 +15,7 @@
#include "parsingHelper.h"
#include "cupsPageLogMode.h"
#include <QRegExp>
class CupsPageAnalyzer : public FileAnalyzer
{
Q_OBJECT
......
......@@ -15,7 +15,7 @@
#include "parsingHelper.h"
#include "cupsPdfLogMode.h"
#include <QRegExp>
class CupsPdfAnalyzer : public FileAnalyzer
{
Q_OBJECT
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment