<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[incompatible &#x2F;usr&#x2F;lib&#x2F;libGL.so]]></title><description><![CDATA[<p dir="auto">Hello,<br />
building default QT Widgets Application on a fresh setup of Qt 5.6.1. GCC64bit on OpenSuse 42.1 Leap results in following error messages:</p>
<pre><code>:-1: error: skipping incompatible /usr/lib/libGL.so when searching for -lGL


:-1: error: cannot find -lGL
</code></pre>
<p dir="auto">locations of <a href="http://libGL.so" target="_blank" rel="noopener noreferrer nofollow ugc">libGL.so</a> are:</p>
<pre><code>1.   /usr/X11R6/lib/libGL.so
2.   /usr/X11R6/lib64/libGL.so
3.   /usr/lib/libGL.so
4.   /usr/lib64/libGL.so
</code></pre>
<p dir="auto">I assume the 3rd one is found first but the 4th should be found.<br />
How to fix this in Qt-creator 4.0.1.  ?<br />
The Makefile contains:</p>
<pre><code>LFLAGS        = -Wl,-rpath,/opt/Qt5/5.6/gcc_64/lib
LIBS          = $(SUBLIBS) -L/opt/Qt5/5.6/gcc_64/lib -lQt5Widgets -L/usr/lib64 -lQt5Gui -lQt5Core -lGL -lpthread 
</code></pre>
]]></description><link>https://forum.qt.io/topic/69191/incompatible-usr-lib-libgl-so</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 02:35:37 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/69191.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Jul 2016 03:20:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to incompatible &#x2F;usr&#x2F;lib&#x2F;libGL.so on Wed, 13 Jul 2016 07:48:18 GMT]]></title><description><![CDATA[<p dir="auto">works now, thanks a lot :)</p>
]]></description><link>https://forum.qt.io/post/337439</link><guid isPermaLink="true">https://forum.qt.io/post/337439</guid><dc:creator><![CDATA[deleted28]]></dc:creator><pubDate>Wed, 13 Jul 2016 07:48:18 GMT</pubDate></item><item><title><![CDATA[Reply to incompatible &#x2F;usr&#x2F;lib&#x2F;libGL.so on Wed, 13 Jul 2016 06:32:07 GMT]]></title><description><![CDATA[<p dir="auto">Since you are using Qt Creator, go to the <code>Build &amp; Run</code> panel in the options, then <code>Kit</code>, select the kit you are using. There you'll have a line name Qt mkspec. You can set there the mkspec.</p>
]]></description><link>https://forum.qt.io/post/337425</link><guid isPermaLink="true">https://forum.qt.io/post/337425</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 13 Jul 2016 06:32:07 GMT</pubDate></item><item><title><![CDATA[Reply to incompatible &#x2F;usr&#x2F;lib&#x2F;libGL.so on Wed, 13 Jul 2016 05:23:34 GMT]]></title><description><![CDATA[<p dir="auto">Thank You SGaist,</p>
<p dir="auto">this sounds interesting, but I do not know how to use "linux-g++-64 mkspec". Can you explain a little more, please, thank you.</p>
]]></description><link>https://forum.qt.io/post/337416</link><guid isPermaLink="true">https://forum.qt.io/post/337416</guid><dc:creator><![CDATA[deleted28]]></dc:creator><pubDate>Wed, 13 Jul 2016 05:23:34 GMT</pubDate></item><item><title><![CDATA[Reply to incompatible &#x2F;usr&#x2F;lib&#x2F;libGL.so on Tue, 12 Jul 2016 21:09:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">One thing you can try is to use the linux-g++-64 mkspec when you configure your project.</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/337381</link><guid isPermaLink="true">https://forum.qt.io/post/337381</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 12 Jul 2016 21:09:20 GMT</pubDate></item></channel></rss>