X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE8F13938C0D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1587909294; bh=IDO4ZchyCIbHvtmBaTbFcXG5y48FP/Wq50aj9W2OM7s=; h=Subject:From:To:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=n+3XCPDHxUJUbfDL9VLYW6UgUf/dgVJ+24LgomB9oxWIQgAVitC522m+NbCmdI/3L +N0ZDWNBsWxOQSFHSbDlbEuzveWc1EAc/Tine+LftzJ8RFUUlQnchJ+qpGsOeRxsg2 GYoqfNokwKdWjTqrTpElInjKN93r6uOdxxRPXpSM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 AT cygwin DOT com X-MC-Unique: iJs_eJx5NRSSkwGyLt-5gg-1 Message-ID: Subject: Re: lyx and QT5 blank windows From: Yaakov Selkowitz To: cygwin AT cygwin DOT 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 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 AT cygwin DOT 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: , Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 03QDtLRr002961 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple