I never had any problems running Qt applications over ssh. I doubt the error is caused by the fact you are using a different display.
I never had any problems running Qt applications over ssh. I doubt the error is caused by the fact you are using a different display.
It looks like QT BUG, because when I use QLabel, i can run this application over ssh without fail..
Also when i ssh myself: ssh -X me@my_ip i can run app without problems, but this is not solution because i need to run my app using cron...Qt Code:
}To copy to clipboard, switch view to plain text mode
Application fail when i use QTableWidget too...
Maybe i have to use QX11EmbedWidget or add some display config code in main(...) method.
Any ideas ?
Last edited by basy; 3rd December 2010 at 18:07.
The thing is Qt has nothing to do with display settings. It's just an address of the X Server XLib connects to, the rest is a matter of where X calls go so I'd look for trouble in configuration of your system(s) and not Qt itself.
Bookmarks