logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 68e8717014fd966dfcd3116f7f286def22b57c2a
parent 74c0c189eda6486bff0b5e79115218fbc1c458da
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 17 Sep 2021 03:18:45 +0200

notes/pure-wayland: Qt5 pulls -lGL

Diffstat:

Mnotes/pure-wayland.shtml2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml @@ -99,7 +99,7 @@ endif</code></pre> <li><a href="https://github.com/anholt/libepoxy">libepoxy</a>: Needs <a href="https://github.com/anholt/libepoxy/pull/259">libepoxy#259</a> for <code>libOpenGL.so</code> and then it just works</li> <li><a href="http://mygui.info">MyGUI</a>: Needs a patch for GLVND (<a href="https://github.com/MyGUI/mygui/pull/224">mygui#224</a>)</li> <li><a href="https://www.gtk.org/">GTK</a> 3: Almost. <a href="https://gitlab.gnome.org/GNOME/gtk/-/issues/699">Suggestions are broken on multi-monitors</a> as well as the usual glitches.</li> - <li><a href="https://www.qt.io/">Qt</a> 5: Almost, menus are misplaced, specially on multi-monitors.</li> + <li><a href="https://www.qt.io/">Qt</a> 5: Almost, menus are misplaced, specially on multi-monitors and requires <code>-lGL</code> → <code>-lOpenGL</code> workaround</li> <li><a href="http://glew.sourceforge.net/">GLEW: OpenGL Extension Wrangler Library</a>: <a href="https://github.com/nigels-com/glew/issues/172">Not really</a>, consider <a href="https://github.com/anholt/libepoxy#why-not-use-libglew">libepoxy</a> or <a href="https://glbinding.org/">glbinding</a> (drop-in). I managed to get it to compile and work for some software with:<ul> <li>Applying <a href="https://github.com/nigels-com/glew/pull/216/commits/584a266e71c3c3f7ec4a0e4e61c31b67f80a2419">Extend GLEW API to support glewContextInit - GL without implied GLX, … #216</a></li> <li>Running <code><kbd>sed -i 's/-lGL/-lOpenGL/' config/Makefile.linux-egl</kbd></code></li>