libcalamares: deal with KF5 macro expansion

Since KF5 is not looked-for in the Qt6 build, mock up
a useless macro-expander in its place.
This commit is contained in:
Adriaan de Groot 2023-09-03 15:50:20 +02:00
parent e0b820abbc
commit cdb2eb8b9a
2 changed files with 48 additions and 0 deletions

View file

@ -11,6 +11,16 @@
#include "StringExpander.h"
#include "Logger.h"
#if QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 )
// TODO: Qt6
KWordMacroExpander::~KWordMacroExpander() {};
bool
KWordMacroExpander::expandMacro( const QString& str, QStringList& ret )
{
return false;
}
#endif
namespace Calamares
{
namespace String