summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-03-06 18:50:12 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-03-07 08:48:03 +0000
commit8e931b8e88d8b6972edb8b092fea25c526f21e80 (patch)
tree559573eec80504313026c29c5f6f01fc50309275
parentecc425e33290abdda9a193b57f160d3195930586 (diff)
Drop guards around QFactoryLoader
QFactoryLoader is available without QLibrary. Change-Id: I1e05c7dfaf1f0c14817572af2ed3cf38d3de73e6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
-rw-r--r--src/tts/qtexttospeech.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tts/qtexttospeech.cpp b/src/tts/qtexttospeech.cpp
index f419fdd..eb6b083 100644
--- a/src/tts/qtexttospeech.cpp
+++ b/src/tts/qtexttospeech.cpp
@@ -45,11 +45,9 @@
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_LIBRARY
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader,
("org.qt-project.qt.speech.tts.plugin/5.0",
QLatin1String("/texttospeech")))
-#endif
QMutex QTextToSpeechPrivate::m_mutex;