From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id 39163385DC1B for ; Sun, 26 Apr 2020 13:54:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 39163385DC1B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=yselkowitz@cygwin.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-153-iJs_eJx5NRSSkwGyLt-5gg-1; Sun, 26 Apr 2020 09:54:47 -0400 X-MC-Unique: iJs_eJx5NRSSkwGyLt-5gg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DD92B80B702 for ; Sun, 26 Apr 2020 13:54:46 +0000 (UTC) Received: from ovpn-112-47.rdu2.redhat.com (ovpn-112-47.rdu2.redhat.com [10.10.112.47]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 928A8610EC for ; Sun, 26 Apr 2020 13:54:46 +0000 (UTC) Message-ID: Subject: Re: lyx and QT5 blank windows From: Yaakov Selkowitz To: cygwin@cygwin.com Date: Sun, 26 Apr 2020 09:54:45 -0400 In-Reply-To: References: User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2020 13:54:51 -0000 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=20 > like "open file" only produces a blank and black window. >=20 > At running I see only this output, that is not clear if it is related >=20 > QXcbShmImage: shmget() failed (88: Function not implemented) for size=20 > 1407600 (690x510) > QXcbShmImage: shmget() failed (88: Function not implemented) for size=20 > 518976 (318x408) > Gtk-Message: GtkDialog mapped without a transient parent. This is=20 > discouraged. > QXcbShmImage: shmget() failed (88: Function not implemented) for size=20 > 12000 (100x30) Do you have cygserver running, and was it started before the X server?=20 This is a requirement for the MIT-SHM extension, otherwise you need to set QT_X11_NO_MITSHM=3D1 in your environment. > and at build time there is a new warning coming from the compiler >=20 > /usr/include/qt5/QtGui/qtransform.h: In member function =E2=80=98QTransfo= rm&=20 > QTransform::operator=3D(QTransform&&)=E2=80=99: > /usr/include/qt5/QtGui/qtransform.h:81:46: warning: =E2=80=98void* memcpy= (void*,=20 > const void*, size_t)=E2=80=99 writing to an object of type =E2=80=98class= QTransform=E2=80=99=20 > with no trivial copy-assignment; use copy-assignment or=20 > 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