[Kde-bindings] Qyoto and QT Embedded

Richard Dale rdale at foton.es
Wed Oct 14 17:38:23 UTC 2009


On Wednesday 14 October 2009 05:05:51 pm Lorenz Cuno Klopfenstein wrote:
> Hello everybody,
> I have started working with Mono and Qyoto today. It works flawlessly
> (at least for the simple tests I have been running), but I would need
> to get it running on QT Embedded. So far it doesn't work. Both passing
> "-qws" as command line parameter in the QApplication constructor and
> setting
> 
>     new QApplication(new string[] { }, QApplication.TypeOf.GuiServer)
> 
> do not work. The program always writes:
> 
>     qt-dotnet.dll: cannot connect to X server
> 
> to the console and then terminates.
> Any ideas why that is and how to fix it?
Qt is built with either X11 support or qws, but never both. And so it looks to 
me as though you version of Qt hasn't been built correctly. What mkspecs and 
configure options did you use to build it? Do C++ GUI applications work ok, or 
do you get the same problem?

-- Richard


> Thanks a lot for your help and for your work on Qyoto. :)
> 



More information about the Kde-bindings mailing list