[Qt-creator] How do you run Qt Creator on Wayland?

Eike Ziller Eike.Ziller at qt.io
Wed Apr 25 11:44:41 CEST 2018



> On 24. Apr 2018, at 09:34, Eike Ziller <Eike.Ziller at qt.io> wrote:
> 
>> 
>> On Apr 23, 2018, at 17:45, timur.kristof at gmail.com wrote:
>> 
>> Hi,
>> 
>> I'm using latest Qt Creator 4.6.0 on Fedora where I run a Gnome Wayland
>> session (the default in newer Fedora releases).
>> 
>> Out of curiosity, I poked around and was surprised to notice that Qt
>> Creator runs inside XWayland, despite Qt's Wayland support. So I tried
>> to run Qt Creator as a Wayland client, and failed spectacularly.
>> 
>> Here is what I did:
>> 
>> 1. Noticed that the wayland plaform plugins are not even installed:
>> Could not find them in either locations:
>> QtSDK/Tools/QtCreator/lib/Qt/plugins
>> QtSDK/5.10.1/gcc_64/plugins
> 
> Qt 5.11 will be the first version that actually comes with binaries for the wayland plugin.
> Qt Creator builds on our Qt binary packages.
> But actually this email is a good reminder for me to take care of https://bugreports.qt.io/browse/QTCREATORBUG-18914 .
> 
> Otherwise I have no idea in what state the wayland support is.

The Qt Creator 4.7 snapshot at http://download.qt.io/snapshots/qtcreator/4.7/4.7.0-beta1/ should now come with the wayland platform plugin.


>> 2. Cloned the QtWayland module, checked out the v5.10.1 tag, and
>> compiled it myself. Then installed it to
>> QtSDK/Tools/QtCreator/lib/Qt/plugins
>> 
>> 3. Started Qt Creator with:
>> QT_QPA_PLATFORM=wayland ./qtcreator
>> 
>> Result:
>> Qt Creator launches, but:
>> - text input doesn't work - making the app completely unusable
>> - rendering (especially in the code editor) is very flaky
>> - the window decoration looks out of place
>> - the mouse pointer is bigger inside the Qt Creator window than outside
>> - different icons are used compared to running it on X11
>> 
>> Are these all known issues?
>> I would have kind of expected it to just work out of the box,
>> considering Qt has had Wayland support for several years now, but seems
>> that this isn't the case unfortunately. Or am I doing it wrong?
>> 
>> Thanks in advance for your answers!
>> Best regards,
>> Tim
>> 
>> 
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> -- 
> Eike Ziller
> Principal Software Engineer
> 
> The Qt Company GmbH
> Rudower Chaussee 13
> D-12489 Berlin
> eike.ziller at qt.io
> http://qt.io
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Mika Harjuaho
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list