mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
add openssl version check
This commit is contained in:
parent
945d29f576
commit
fe0bc465b0
@ -8,6 +8,7 @@
|
||||
#include <QFileInfo>
|
||||
#include <QStringList>
|
||||
#include <QDir>
|
||||
#include <QSslSocket>
|
||||
#include "utils/vutils.h"
|
||||
#include "vsingleinstanceguard.h"
|
||||
#include "vconfigmanager.h"
|
||||
@ -114,6 +115,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
// Check the openSSL.
|
||||
qDebug() << "openSSL" << QSslSocket::sslLibraryBuildVersionString()
|
||||
<< QSslSocket::sslLibraryVersionNumber();
|
||||
|
||||
// The file path passed via command line arguments.
|
||||
QStringList filePaths = VUtils::filterFilePathsToOpen(app.arguments().mid(1));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user