Advance redbear-full Wayland, greeter, and Qt integration

Consolidate the active desktop path around redbear-full while landing the greeter/session stack and the runtime fixes needed to keep Wayland and KWin bring-up moving forward.
This commit is contained in:
2026-04-19 17:59:58 +01:00
parent 370d27f44d
commit 9880e0a5b2
137 changed files with 14176 additions and 2016 deletions
@@ -1,5 +1,6 @@
#include <QCoreApplication>
#include <QDebug>
#include <QFile>
#include <QPluginLoader>
#include <cstdio>
@@ -26,6 +27,20 @@ int main(int argc, char **argv) {
? QString::fromLocal8Bit(argv[1])
: QStringLiteral("/usr/plugins/platforms/libqminimal.so");
QFile rawFile(plugin);
if (rawFile.open(QIODevice::ReadOnly)) {
const QByteArray header = rawFile.read(64);
qInfo() << "qt6-plugin-check raw-header" << header.toHex(' ');
if (header.size() >= 56) {
const quint8 low = static_cast<quint8>(header[54]);
const quint8 high = static_cast<quint8>(header[55]);
const quint16 phentsize = quint16(low) | (quint16(high) << 8);
qInfo() << "qt6-plugin-check raw-e_phentsize" << phentsize;
}
} else {
qWarning() << "qt6-plugin-check failed to open raw file" << rawFile.errorString();
}
QPluginLoader loader(plugin);
mark("before-metadata");
std::fprintf(stderr, "qt6-plugin-check before metadata\n");