Enable compilation with Qt 6.2

pull/1519/head
Jon Beniston 2022-11-17 23:26:54 +00:00
rodzic 4fed3a7eab
commit 9a18f3f7ce
3 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

@ -1,6 +1,6 @@
project(demod) 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(demodadsb)
# add_subdirectory(demodvormc) # add_subdirectory(demodvormc)
endif() endif()

Wyświetl plik

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