Qt hello speak running error
-
Hello,
I have installed Ubuntu 20.04 and Qt 5.14.2.
I want to run the Qt example hello_speak.
When I Build and Run it in QTCreator it runs perfectly, but when I want to run the executable file from my home directory so:
sudo ./hello_speakthan I get the following error what I see in the terminal:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Connection to speech-dispatcher failedThe window is running, but I can't choose any options under Language and in Voice name.
What could be the problem?Thank you in advance for the answers!
-
Hello,
I have installed Ubuntu 20.04 and Qt 5.14.2.
I want to run the Qt example hello_speak.
When I Build and Run it in QTCreator it runs perfectly, but when I want to run the executable file from my home directory so:
sudo ./hello_speakthan I get the following error what I see in the terminal:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Connection to speech-dispatcher failedThe window is running, but I can't choose any options under Language and in Voice name.
What could be the problem?Thank you in advance for the answers!
This post is deleted! -
Hi and welcome to devnet,
What are you trying to execute your application as root ?