QT GUI Error
I've recently started using Qt and installed everything. I'm using 2.5.0 for Qt Creator and targetting 4.8.2, but everytime I try to run something with a forms file, I get this error:
QWSSocket::connectToLocalFile could not connect:: No such file or directory
It doesn't matter if the form has something or if the project is recently made, I always get the same error, yet I don't get it when making a Qt console application.
Any insights of what might be going on and how to fix it?
Thanks in advance and greetings from Costa Rica!
I forgot this line of the error:
No Qt for Embedded Linux server appears to be running.
Hi and welcome to devnet,
Did you add the -qws option when starting your application ?
Hello and thanks for your reply.
I did what you told me but now it gives me this error:
QFontDatabase: Cannot find font directory /usr/local/Trolltech/QtEmbedded-4.8.2/lib/fonts - is Qt installed correctly?
I'm hoping there's a quick fix for this because I couldn't find a precompiled installer (I need this specific version) so I had to download the source and compile it and that took quite a bit of time.
And you won't, there are no installer for cross-compiled QtEmbedded.
The fix however is simple: create the directory and copy the fonts from your QtEmbedded build there