- LtsWidgets: Fixed Qt6 API compatibility issues - QWheelEvent::delta() → angleDelta().y() - QStyleOption::init() → initFrom() - QComboBox activated signal signature change - QTextCodec removal (UTF-8 default in Qt6) - Missing widget includes added - LtsWebSocket: Fixed m_logger reference initialization - Added NGLLoggerBootstrap includes - Proper initialization in constructor initializer lists - CMake: Added BUILD_LTSWEBSOCKET option for temporary exclusion - Docker: RTI Connext permanent installation script added - ci/install-rti-in-docker.sh for persistent RTI setup - Removes need for volume mounting RTI into container - BUILD options: FilterManagement, RTI, Codification, Grantlee, LtsWebSocket can be disabled for partial builds during migration Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
|
|
|
|
#ifndef NGLLOGGERBOOTSTRAP_H
|
|
#define NGLLOGGERBOOTSTRAP_H
|
|
|
|
#include <NGLLogger/INGLLogger.h>
|
|
#include <ngllogger_export.h>
|
|
|
|
namespace NGL
|
|
{
|
|
|
|
namespace NGLLoggerBootstrap
|
|
{
|
|
class AlreadyCreatedError final : public std::exception
|
|
{
|
|
const char* what() const noexcept override
|
|
{
|
|
return "NGLLogger rootlogger already created!";
|
|
}
|
|
};
|
|
|
|
class NotCreatedError final : public std::exception
|
|
{
|
|
const char* what() const noexcept override
|
|
{
|
|
return "NGLLogger rootlogger not yet created!";
|
|
}
|
|
};
|
|
|
|
NGLLOGGER_EXPORT INGLLogger& getNGLRootLogger();
|
|
|
|
NGLLOGGER_EXPORT INGLLogger& createNGLRootLogger(const QString& configfilename, bool ignorealreadycreated,
|
|
const QString& logOutputName = QString(), bool quiet = false);
|
|
|
|
inline INGLLogger& createNGLRootLogger(const char* configfilename, bool ignorealreadycreated,
|
|
const QString& logOutputName = QString())
|
|
{
|
|
return createNGLRootLogger(QString::fromUtf8(configfilename), ignorealreadycreated, logOutputName);
|
|
}
|
|
|
|
} // namespace NGLLoggerBootstrap
|
|
|
|
} // namespace NGL
|
|
|
|
#endif
|