Skip to content

Commit

Permalink
Fix QT version check (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev authored Dec 5, 2024
1 parent 00b0611 commit 37f6e52
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions sources/led-drivers/net/ProviderUdpSSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@
#include <led-drivers/net/ProviderUdpSSL.h>

#ifdef USE_STATIC_QT_PLUGINS
#include <QtPlugin>
Q_IMPORT_PLUGIN(QTlsBackendOpenSSLPlugin)
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
#include <QtPlugin>
Q_IMPORT_PLUGIN(QTlsBackendOpenSSLPlugin)
#endif
#endif

ProviderUdpSSL::ProviderUdpSSL(const QJsonObject& deviceConfig)
Expand Down
6 changes: 4 additions & 2 deletions sources/webserver/WebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#include "QtHttpServer.h"

#ifdef USE_STATIC_QT_PLUGINS
#include <QtPlugin>
Q_IMPORT_PLUGIN(QTlsBackendOpenSSLPlugin)
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
#include <QtPlugin>
Q_IMPORT_PLUGIN(QTlsBackendOpenSSLPlugin)
#endif
#endif

// bonjour
Expand Down
3 changes: 2 additions & 1 deletion www/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ $(document).ready(function () {
instNameInit = true;
}

if (window.suppressMissingLutWarningPerSession !== true &&
// disable for now
if (false && window.suppressMissingLutWarningPerSession !== true &&
window.serverInfo.hasOwnProperty('grabbers') && window.serverInfo.grabbers.hasOwnProperty('active') &&
window.serverInfo.grabbers.active.length > 0 &&
!(window.serverInfo.grabbers.lut_for_hdr_exists === 1) &&
Expand Down

0 comments on commit 37f6e52

Please sign in to comment.