Fix use of WITH_XC_X11 build flag

This commit is contained in:
Jonathan White 2022-10-16 07:29:30 -04:00 committed by Janek Bevendorff
parent 7fa3e6ef90
commit 08f7c6f863
No known key found for this signature in database
GPG Key ID: 2885A26445BD33D1
2 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,7 @@
#cmakedefine WITH_XC_UPDATECHECK
#cmakedefine WITH_XC_FDOSECRETS
#cmakedefine WITH_XC_DOCS
#cmakedefine WITH_XC_X11
#cmakedefine KEEPASSXC_BUILD_TYPE "@KEEPASSXC_BUILD_TYPE@"
#cmakedefine KEEPASSXC_BUILD_TYPE_RELEASE

View File

@ -17,6 +17,8 @@
#include "NixUtils.h"
#include "config-keepassx.h"
#include <QApplication>
#include <QDBusInterface>
#include <QDir>
@ -24,7 +26,7 @@
#include <QStandardPaths>
#include <QStyle>
#include <QTextStream>
#ifdef WITH_XC_AUTOTYPE
#ifdef WITH_XC_X11
#include <QX11Info>
#include <qpa/qplatformnativeinterface.h>