Skip to content

Commit

Permalink
Merge pull request #14216 from JoergAtGithub/add_missing_Qt6_TLS_plugin
Browse files Browse the repository at this point in the history
Added missing QTlsBackendOpenSSLPlugin to make MusicBrainz work with Qt6 builds
  • Loading branch information
daschuer authored Jan 25, 2025
2 parents b6af761 + b6af703 commit a2b268c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2880,6 +2880,7 @@ if(Qt_IS_STATIC)
Qt${QT_VERSION_MAJOR}::QICOPlugin
Qt${QT_VERSION_MAJOR}::QJpegPlugin
Qt${QT_VERSION_MAJOR}::QSvgPlugin
Qt${QT_VERSION_MAJOR}::QTlsBackendOpenSSLPlugin

# sqldrivers
Qt${QT_VERSION_MAJOR}::QSQLiteDriverPlugin
Expand Down Expand Up @@ -2955,6 +2956,11 @@ else()
DESTINATION "${MIXXX_INSTALL_DATADIR}/sqldrivers"
COMPONENT applocal)

install(IMPORTED_RUNTIME_ARTIFACTS
Qt${QT_VERSION_MAJOR}::QTlsBackendOpenSSLPlugin
DESTINATION "${MIXXX_INSTALL_DATADIR}/tls"
COMPONENT applocal)

if(QML)
install(IMPORTED_RUNTIME_ARTIFACTS
Qt${QT_VERSION_MAJOR}::LabsQmlModels
Expand Down
2 changes: 2 additions & 0 deletions src/mixxxapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)
#endif

Q_IMPORT_PLUGIN(QSQLiteDriverPlugin)
Q_IMPORT_PLUGIN(QTlsBackendOpenSSL)
Q_IMPORT_PLUGIN(QSvgPlugin)
Q_IMPORT_PLUGIN(QICOPlugin)
Q_IMPORT_PLUGIN(QJpegPlugin)
Q_IMPORT_PLUGIN(QGifPlugin)

#endif // QT_STATIC

namespace {
Expand Down

0 comments on commit a2b268c

Please sign in to comment.