X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F00D396ECA8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1587922084; bh=TozEfVjL+5LVartDP5BIHHu94mvml3MpNlbUaumatW0=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Sg6bdob+aM0C6unRRUybmFXOZzo5wO02SkYaV1UyiTJeKO9AOIXyH5it0Yd4kFbJL HcuiLCLaIEHaKeiFWUpogyqC2fNMNV3X4v4TzeYKgyzUOGodhOI5b8mb+octAQ9jG/ 9H1C6KbPIxp2xBC2z1VjePMSYam+47K4bxWOnocU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 78C3D385DC1B 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) Subject: Re: lyx and QT5 blank windows To: cygwin AT cygwin DOT com References: 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: 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 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" 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 03QHSV49008721 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 -- 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