mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
rbutil: Disable TTS test on Qt6.
Qt6 has QMultimedia, but QSound has been removed. It's only use for playing a TTS test sample. Disable that for now. Change-Id: Id3b5c834f9579a43e390c0c00a4c1a35b59182bd
This commit is contained in:
parent
00ec195c26
commit
f3b19de594
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
#include <QProgressDialog>
|
||||
#include <QFileDialog>
|
||||
#include <QUrl>
|
||||
#ifdef QT_MULTIMEDIA_LIB
|
||||
#if defined(QT_MULTIMEDIA_LIB) && (QT_VERSION < 0x060000)
|
||||
#include <QSound>
|
||||
#endif
|
||||
|
||||
|
@ -444,7 +444,7 @@ void Config::updateTtsState(int index)
|
|||
{
|
||||
ui.configTTSstatus->setText(tr("Configuration OK"));
|
||||
ui.configTTSstatusimg->setPixmap(QPixmap(QString::fromUtf8(":/icons/go-next.svg")));
|
||||
#ifdef QT_MULTIMEDIA_LIB
|
||||
#if defined(QT_MULTIMEDIA_LIB) && (QT_VERSION < 0x060000)
|
||||
ui.testTTS->setEnabled(true);
|
||||
#else
|
||||
ui.testTTS->setEnabled(false);
|
||||
|
@ -894,7 +894,7 @@ void Config::configTts()
|
|||
|
||||
void Config::testTts()
|
||||
{
|
||||
#ifdef QT_MULTIMEDIA_LIB
|
||||
#if defined(QT_MULTIMEDIA_LIB) && (QT_VERSION < 0x060000)
|
||||
QString errstr;
|
||||
int index = ui.comboTts->currentIndex();
|
||||
TTSBase* tts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue