Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Dec 7, 2024
1 parent 39e72e7 commit c9034e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions avogadro/avogadro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@

// install a message handler (for Windows)
#include <QFile>
#include <QSslSocket>
#include <QTextStream>

#include <avogadro/core/version.h>

#include "application.h"
#include "avogadroappconfig.h"
#include "mainwindow.h"

#ifdef Q_OS_MAC
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit c9034e8

Please sign in to comment.