Merge pull request #2298 from calamares/logversion

[calamares] Add Qt version to debug log
This commit is contained in:
Adriaan de Groot 2024-03-03 12:32:45 +01:00 committed by GitHub
commit 56cdf33b15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -66,9 +66,17 @@ CalamaresApplication::init()
{
Logger::setupLogfile();
cDebug() << "Calamares version:" << CALAMARES_VERSION;
cDebug() << Logger::SubEntry << "Using Qt version:" << qVersion();
cDebug() << Logger::SubEntry << "Build type:" << CMAKE_BUILD_TYPE;
#ifdef WITH_PYBIND11
cDebug() << Logger::SubEntry << "Using PyBind11";
#endif
#ifdef WITH_BOOST_PYTHON
cDebug() << Logger::SubEntry << "Using Boost Python";
#endif
cDebug() << Logger::SubEntry << "Using settings:" << Calamares::Settings::instance()->path();
cDebug() << Logger::SubEntry << "Using log file:" << Logger::logFile();
cDebug() << Logger::SubEntry << "languages:" << Calamares::Locale::availableLanguages();
cDebug() << Logger::SubEntry << "Languages:" << Calamares::Locale::availableLanguages();
if ( !Calamares::Settings::instance() )
{

View File

@ -15,6 +15,7 @@
#define CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}"
#define CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/calamares"
#define CMAKE_INSTALL_FULL_SYSCONFDIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}"
#define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}"
/*
* These are feature-settings that affect consumers of Calamares