From c9034e89bb06a5edbe80b710410485a8c7be870f Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Sat, 7 Dec 2024 16:39:58 -0500 Subject: [PATCH] Fix compile Signed-off-by: Geoff Hutchison --- avogadro/avogadro.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/avogadro/avogadro.cpp b/avogadro/avogadro.cpp index 9f5dacc7..bec9e85a 100644 --- a/avogadro/avogadro.cpp +++ b/avogadro/avogadro.cpp @@ -20,11 +20,13 @@ // install a message handler (for Windows) #include +#include #include #include #include "application.h" +#include "avogadroappconfig.h" #include "mainwindow.h" #ifdef Q_OS_MAC @@ -119,13 +121,13 @@ int main(int argc, char* argv[]) // install the message handler (goes to Documents / avogadro2.log) qInstallMessageHandler(myMessageOutput); +#endif // output the version information qDebug() << "Avogadroapp version: " << AvogadroApp_VERSION; - qDebug() << "Avogadrolibs version: " << version(); + qDebug() << "Avogadrolibs version: " << Avogadro::version(); qDebug() << "Qt version: " << qVersion(); qDebug() << "SSL version: " << QSslSocket::sslLibraryVersionString(); -#endif Avogadro::Application app(argc, argv);