This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Cannot run Qt5 applications.
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 02 Mar 2015 17:34:24 -0600
- Subject: Re: Cannot run Qt5 applications.
- Authentication-results: sourceware.org; auth=none
- References: <54D2A922 dot 3060507 at tiscali dot co dot uk> <54D2CA12 dot 5080701 at dronecode dot org dot uk> <54DE4334 dot 9060101 at dronecode dot org dot uk>
- Reply-to: cygwin-xfree at cygwin dot com
On Fri, 2015-02-13 at 18:32 +0000, Jon TURNEY wrote:
> On 05/02/2015 01:40, Jon TURNEY wrote:
> > On 04/02/2015 23:20, David Stacey wrote:
> >> I'm having difficulty running any Qt5 application. These are the
> >> commands I'm issuing:
> >> [snip]
> >> and I see the clock, so X is up and running. Then:
> >> [snip]
> >
> > Possibly you need to install and start cygserver (See [1])
> >
> > If so, this is because Qt5 is assuming shared memory is available, which
> > could possibly be handled in a better way...
>
> This looks like a portability problem in Qt5, where it only handles
> shmget() failing with a return value of -1, not with SIGSYS, to fallback
> to using an image in unshared memory.
>
> Patch attached.
Or is it a problem with our shmget()?
http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmget.html
http://man7.org/linux/man-pages/man2/shmget.2.html
Perhaps we should be just returning -1 with an errno (ENOSYS?) instead
of raise(SIGSYS)?
--
Yaakov
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/