Skip to content

Commit

Permalink
Add QT_USE_NAMESPACE macro
Browse files Browse the repository at this point in the history
The macro `QT_USE_NAMESPACE` should expand to nothing for most Qt builds, i.e.
built with an empty `QT_NAMESPACE` variable.
  • Loading branch information
bjornblissing committed Oct 5, 2024
1 parent 58ad295 commit 2712724
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cfg/qt.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5368,6 +5368,7 @@
<define name="Q_RETURN_ARG(type, data)" value="QReturnArgument&lt;type &gt;(#type, data)"/>
<define name="Q_UNLIKELY(expr)" value="expr"/>
<define name="Q_UNUSED(X)" value="(void)(X);"/>
<define name="QT_USE_NAMESPACE" value=""/>
<define name="QT_BEGIN_NAMESPACE" value=""/>
<define name="QT_END_NAMESPACE" value=""/>
<define name="QT_BEGIN_MOC_NAMESPACE" value=""/>
Expand Down

0 comments on commit 2712724

Please sign in to comment.