public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: lyx and QT5 blank windows
Date: Sun, 26 Apr 2020 09:54:45 -0400	[thread overview]
Message-ID: <a43230146e2d90a484413385362bad10e832227d.camel@cygwin.com> (raw)
In-Reply-To: <ab6eeb15-ce54-e593-1cef-b4621b72fd4c@gmail.com>

On Sun, 2020-04-26 at 11:15 +0200, Marco Atzeri via Cygwin wrote:
> I am trying to rebuild lyx with QT5 enabled instead of QT4.

Good idea, since Qt4 is obsolete and unmaintained (both upstream and
downstream).

> The build is fine and it seems to start fine, but opening new windows 
> like "open file" only produces a blank and black window.
> 
> At running I see only this output, that is not clear if it is related
> 
> QXcbShmImage: shmget() failed (88: Function not implemented) for size 
> 1407600 (690x510)
> QXcbShmImage: shmget() failed (88: Function not implemented) for size 
> 518976 (318x408)
> Gtk-Message: GtkDialog mapped without a transient parent. This is 
> discouraged.
> QXcbShmImage: shmget() failed (88: Function not implemented) for size 
> 12000 (100x30)

Do you have cygserver running, and was it started before the X server? 
This is a requirement for the MIT-SHM extension, otherwise you need to
set QT_X11_NO_MITSHM=1 in your environment.

> and at build time there is a new warning coming from the compiler
> 
> /usr/include/qt5/QtGui/qtransform.h: In member function ‘QTransform& 
> QTransform::operator=(QTransform&&)’:
> /usr/include/qt5/QtGui/qtransform.h:81:46: warning: ‘void* memcpy(void*, 
> const void*, size_t)’ writing to an object of type ‘class QTransform’ 
> with no trivial copy-assignment; use copy-assignment or 
> copy-initialization instead [-Wclass-memaccess]
>     81 |     { memcpy(this, &other, sizeof(QTransform)); return *this; }
>        |                                              ^

I think this can be ignored for now, and will likely be fixed by a
future update to qt5.

--
Yaakov



  reply	other threads:[~2020-04-26 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26  9:15 Marco Atzeri
2020-04-26 13:54 ` Yaakov Selkowitz [this message]
2020-04-26 17:27   ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a43230146e2d90a484413385362bad10e832227d.camel@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).