Hey Torsten,

2014-03-07 13:53 GMT+01:00 Torsten Schulz <tssch...@gmx.net>:

> Hello,
>
> I look for your famous WtWithQt. But I'm not able to run it in Apache,
> because it needs a X-Server:
> QXcbConnection: Could not connect to display
>
> If I use the build-in server of witty, it isn't a problem. I have only to
> add "-platform offscreen" to the command line.
>
> Do you know how I can add this at apache too?
>

I wasn't aware of this (I guess I never tested this example with apache).

But I would assume then this is something you can (and should) accomplish
by passing this in a custom-made argc/argv that you pass to the
QApplication constructor that you put in main() ?

Regards,
koen
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to