It gets configured into CMake\<a href="http://branded_paraview_initializer.cxx.in" target="_blank">branded_paraview_initializer.cxx.in</a> as BPC_TITLE. The configuration magic happens in ParaViewBranding.cmake. The idea behind the branding code was to make creating generic paraview based applications easy. I am hesitant about putting the ifdefs at the C++ level as that would effect everyone using ParaView branded applications.<div>


<br><div class="gmail_quote">On Mon, Feb 7, 2011 at 12:25 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I would have thought that some sort of header file would be created with all the preprocessor logic and then the actual Qt code would call out to that header file to get the correct QString to display in the title. Just having &quot;Universal&quot; in the header may or may not be good enough. I think I would really want to know in what mode (32 or 64 bit) it was truly running. Is that what is happening? I am having trouble following exactly where the &quot;TITLE&quot; argument to  the build_paraview_client function is actually being used.<br>



<div>___________________________________________________________<br>
Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
<br>
<br>
</div><div><div></div><div>On Feb 7, 2011, at 12:04 PM, David Partyka wrote:<br>
<br>
&gt; The bitness comes from ParaViewCommon.cmake around line 280 and passed into build_paraview_client in Applications/ParaView/CMakeLists.txt  around line 49. I guess in this case the title should be Universal, what do you think? I have similar logic that generates the dmg name that way. i.e. if there are more than one target platforms then call it Darwub-Universal.<br>



&gt;<br>
&gt;<br>
&gt; On Mon, Feb 7, 2011 at 11:00 AM, Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; Yes. I was doing a universal build targeted for 10.5 but using a 10.6 to build. Do you have a hint as to where that title is generated? I&#39;ll try and put together a patch.<br>
&gt;<br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;<br>
&gt;<br>
&gt; On Feb 7, 2011, at 10:57 AM, David Partyka wrote:<br>
&gt;<br>
&gt; &gt; Humm, curious if you doing a universal build then? Yeah please file a bug and I&#39;ll make sure it&#39;s fixed for 3.10.0 final.<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Feb 7, 2011 at 10:37 AM, Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; &gt; Just compiled the latest ParaView from git (master) and when I launched the app I noticed at the top that it had &quot;32 Bit&quot; in the title. Just to verify my version was actually a 64 bit version. My guess is that when that title is generated in code there should be some preprocessor logic to figure out just how it was built. Relying on the sizeof(void*) probably isn&#39;t the best idea:<br>



&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; #if !defined(__APPLE__)<br>
&gt; &gt;  Compute title for NON Apple Platforms<br>
&gt; &gt; #else<br>
&gt; &gt;   # if defined(__LP64__) &amp;&amp; __LP64__<br>
&gt; &gt;        64 BIt title<br>
&gt; &gt;  # else<br>
&gt; &gt;        32 bit title<br>
&gt; &gt;  # endif<br>
&gt; &gt;<br>
&gt; &gt; #endif<br>
&gt; &gt;<br>
&gt; &gt; Should I put in a formal bug report?<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt; &gt; ___________________________________________________________<br>
&gt; &gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt; &gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
&gt; &gt; BlueQuartz Software               Dayton, Ohio<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;<br>
&gt; &gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; &gt;<br>
&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt; &gt;<br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>