<?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[Where do I set QT_CONFIG = menu ?]]></title><description><![CDATA[<p dir="auto">class QMdiSubWindow header has this option</p>
<p dir="auto">#if QT_CONFIG(menu)<br />
void setSystemMenu(QMenu *systemMenu);<br />
QMenu *systemMenu() const;<br />
#endif</p>
<p dir="auto">It enables usage of QMenu etc.</p>
<p dir="auto">I am unable to find where to set<br />
QT_CONFIG   = menu'</p>
<p dir="auto">Add of  QT_CONFIG   = menu  to .pro file has no desired effect - still cannot code menu functions.</p>
]]></description><link>https://forum.qt.io/topic/139240/where-do-i-set-qt_config-menu</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 14:46:03 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139240.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Sep 2022 02:30:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Where do I set QT_CONFIG = menu ? on Mon, 12 Sep 2022 17:13:57 GMT]]></title><description><![CDATA[<p dir="auto">My coding philosophy is to keep the screen void of unnecessary stuff - which seem to be just opposite what coders do.<br />
I like TAB and MDI just because of that.<br />
The reason I  commented on lack of comment is because the example is build from several QT  classes and it is very compact.<br />
I am try to replicate MDI using QDesigner and I am having hard time putting it nicely  together.</p>
]]></description><link>https://forum.qt.io/post/728418</link><guid isPermaLink="true">https://forum.qt.io/post/728418</guid><dc:creator><![CDATA[Anonymous_Banned275]]></dc:creator><pubDate>Mon, 12 Sep 2022 17:13:57 GMT</pubDate></item><item><title><![CDATA[Reply to Where do I set QT_CONFIG = menu ? on Mon, 12 Sep 2022 13:28:39 GMT]]></title><description><![CDATA[<p dir="auto">@AnneRanch said in <a href="/post/728371">Where do I set QT_CONFIG = menu ?</a>:</p>
<blockquote>
<p dir="auto">I think the developers deliberately  remove  comments when an example is made public...</p>
</blockquote>
<p dir="auto">I don't think that's true, but some examples do have more comments than others. I'm guessing the MDI example is pretty old as the MDI UI interface doesn't seem very common anymore.</p>
]]></description><link>https://forum.qt.io/post/728380</link><guid isPermaLink="true">https://forum.qt.io/post/728380</guid><dc:creator><![CDATA[mchinand]]></dc:creator><pubDate>Mon, 12 Sep 2022 13:28:39 GMT</pubDate></item><item><title><![CDATA[Reply to Where do I set QT_CONFIG = menu ? on Mon, 12 Sep 2022 12:48:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chris-kawa">@<bdi>Chris-Kawa</bdi></a></p>
<p dir="auto">Configure should be run from the main Qt source directory</p>
<p dir="auto">Thanks, now I need to figure out with "source directory"  I am using .<br />
I have downloaded way too many....</p>
<p dir="auto">Sorry , I missed the last lione.<br />
No, I am not sore .<br />
I was trying to reuse MDI example and because my project is based on MDI example  it did not go well.<br />
SO I decided to build MDI from scratch  and I have "add subwindow " sort of working.<br />
Now I am trying to add  "menu" and not sure I am doing it right.<br />
( I am not sure I have ":QMenu" module implemented correctly - for the entire project ..")</p>
<p dir="auto">I will rake a look a the MDI example an see hove "they " did it.</p>
<p dir="auto">It is very nice  example , but has absolutely no comments to see what is happening... I think the developers deliberately  remove  comments when an example is made public...</p>
]]></description><link>https://forum.qt.io/post/728371</link><guid isPermaLink="true">https://forum.qt.io/post/728371</guid><dc:creator><![CDATA[Anonymous_Banned275]]></dc:creator><pubDate>Mon, 12 Sep 2022 12:48:16 GMT</pubDate></item><item><title><![CDATA[Reply to Where do I set QT_CONFIG = menu ? on Mon, 12 Sep 2022 07:46:11 GMT]]></title><description><![CDATA[<p dir="auto">@AnneRanch said in <a href="/post/728256">Where do I set QT_CONFIG = menu ?</a>:</p>
<blockquote>
<p dir="auto">still cannot code menu functions.</p>
</blockquote>
<p dir="auto">Show a line of code you attempted together with the error message.</p>
]]></description><link>https://forum.qt.io/post/728285</link><guid isPermaLink="true">https://forum.qt.io/post/728285</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Mon, 12 Sep 2022 07:46:11 GMT</pubDate></item><item><title><![CDATA[Reply to Where do I set QT_CONFIG = menu ? on Mon, 12 Sep 2022 03:08:39 GMT]]></title><description><![CDATA[<p dir="auto">This is not something you can turn on or off in your project. This macro is for querying whether that feature was enabled or not during compilation of Qt itself i.e. code inside that ifdef will be enabled if Qt was build with support for that particular feature.</p>
<p dir="auto">It is specified by using the <code>-feature</code> or <code>-no-feature</code> option of the <a href="https://doc.qt.io/qt-5/configure-options.html#including-or-excluding-features" target="_blank" rel="noopener noreferrer nofollow ugc">configure</a> tool when compiling Qt.</p>
<p dir="auto">Btw. I doubt that any widely distributed Qt build would have support for menus disabled. Are you sure this is the issue you're having?</p>
]]></description><link>https://forum.qt.io/post/728258</link><guid isPermaLink="true">https://forum.qt.io/post/728258</guid><dc:creator><![CDATA[Chris Kawa]]></dc:creator><pubDate>Mon, 12 Sep 2022 03:08:39 GMT</pubDate></item></channel></rss>