1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

Merge pull request #1519 from srcejon/qt6

Enable compilation with Qt 6.2
This commit is contained in:
Edouard Griffiths 2022-11-18 12:07:49 +01:00 committed by GitHub
commit 0c96865113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -448,10 +448,11 @@ if (BUILD_GUI)
OpenGLWidgets
Quick
QuickWidgets
TextToSpeech
OPTIONAL_COMPONENTS
WebEngineQuick
WebEngineCore
WebEngineWidgets)
WebEngineWidgets
TextToSpeech)
else()
find_package(Qt5
REQUIRED COMPONENTS

View File

@ -1,6 +1,6 @@
project(demod)
if (ENABLE_CHANNELRX_DEMODADSB AND Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND)
if (ENABLE_CHANNELRX_DEMODADSB AND Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND)
add_subdirectory(demodadsb)
# add_subdirectory(demodvormc)
endif()

View File

@ -4,6 +4,7 @@
#include <QString>
#include <QMap>
#include <QDataStream>
#include <QIODevice>
#include "dsp/dsptypes.h"
#include "export.h"