<?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[Compile GammaRay for specific Qt Version]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have several Versions installed on Linux. I have installed 5.12, 5.15 and 6.2 installed.  Furthermore, I want to compile gammaray for version 5.15. How do i have to do CMAKE-Configuration? Because CMake finds only 5.12 so gammaray compiles the wrong version.</p>
]]></description><link>https://forum.qt.io/topic/144616/compile-gammaray-for-specific-qt-version</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 09:30:13 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/144616.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Apr 2023 10:10:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compile GammaRay for specific Qt Version on Mon, 24 Apr 2023 15:24:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcus_1">@<bdi>marcus_1</bdi></a> I guess 5.12 comes with the distribution.<br />
If for example you installed 5.15.2 under /opt, you can do<br />
export $PATH=/opt/Qt/5.15.2/gcc_64/bin:$PATH<br />
to put 5.15.2 in front of  5.12. To confirm this<br />
qmake --version<br />
If it shows 5.15.2, you are good to go.</p>
<p dir="auto">You can also try:<br />
export Qt5_DIR=/opt/Qt/5.15.2/gcc_64/lib/cmake/Qt5<br />
<a href="https://doc.qt.io/qt-5/cmake-get-started.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/cmake-get-started.html</a></p>
<p dir="auto">or use CMAKE_PREFIX_PATH<br />
cmake -DCMAKE_PREFIX_PATH=/opt/Qt/5.15.2/gcc_64</p>
<p dir="auto">You will not have problem with Qt6 since I guess you have only one. Add its qmake to the path, it will be ok.<br />
or use CMAKE_PREFIX_PATH</p>
]]></description><link>https://forum.qt.io/post/755980</link><guid isPermaLink="true">https://forum.qt.io/post/755980</guid><dc:creator><![CDATA[JoeCFD]]></dc:creator><pubDate>Mon, 24 Apr 2023 15:24:42 GMT</pubDate></item></channel></rss>