From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 78C3D385DC1B for ; Sun, 26 Apr 2020 17:28:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 78C3D385DC1B Received: by mail-wr1-x42c.google.com with SMTP id i10so17742232wrv.10 for ; Sun, 26 Apr 2020 10:28:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Y1qNs7IA4W+KWroP8sMobzfvxb+Nu4A6upwEDqaWIPs=; b=QdkGkEQzV6CTwwQQYVYTv+hkqYfU9ZUGS1Ih1S5eN7bDcqQYZy+7kGVVYZqwW0s/9O RAj0fg+ohRaFDxQchDzZOFsJuWxVWcqHGq5PR9vJd/8NDFjqVyUHkqjCrBXtEPNTDjKI 7z/BJb25LOqeMA2O6CLepoy5mTy4yc9E/gb7MymgOMh5rNKPhdFszL0aIuldB7MnvyCW fWtVnW3rxtmsS4g6rCI13+p9hIoBTrbHHKfg4++3q3FIiYEeTGmqXYkzPhuLBqFlJv6U 1iui8a16xT/8UElNXzsbHZHzSNl9FyFObbqCAeIQ5isTLh6HTOt1DfjijyiGaa3Cmx8Y HekQ== X-Gm-Message-State: AGi0PubZpc1Z1+eRg5WaW3YBuX1yL7zXixoNuIHFGMyynBg6GrT9hUdE kNKKIfoF5YBDlUerZXcWZMdzHHvg X-Google-Smtp-Source: APiQypLYRlFQDEbmF3s2x92oda7wW67mQisC9Cl6q6SBRFFAT+4EMjz8g6eZY3dlD8J9MgWWZSjMFA== X-Received: by 2002:adf:b344:: with SMTP id k4mr22161798wrd.76.1587922080229; Sun, 26 Apr 2020 10:28:00 -0700 (PDT) Received: from [192.168.2.121] (p5B231401.dip0.t-ipconnect.de. [91.35.20.1]) by smtp.gmail.com with ESMTPSA id 1sm12127622wmz.13.2020.04.26.10.27.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Apr 2020 10:27:59 -0700 (PDT) Subject: Re: lyx and QT5 blank windows To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: <1e1dd2db-3bc1-a880-3b33-12d40a883653@gmail.com> Date: Sun, 26 Apr 2020 19:27:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 17:28:03 -0000 Am 26.04.2020 um 15:54 schrieb Yaakov Selkowitz: > 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). side effect of the python 2 to 3 transfer but is is still QT4 oriented https://wiki.lyx.org/LyX/Dependecies "LyX 2.3.x series need Qt >= 4.8, widely tested with 4.8. For Qt 5 we suggest Qt 5.6 (widely tested). " >> 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. thanks. With Cygserver those are gone. >> 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 > Thanks. In the meantime I found a solution. Removed the old .startxwinrc and the problem is gone. Maybe something changed in one of the last release of X that make the old file not anymore compatible. Test version with QT5 and python 3 (3.6 for the time being) on the way Regards Marco