Forward of a mail replied directly to Cristian instead of the list...<br><div class="gmail_quote"><br><div><div class="h5"><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 11:36 PM, Cristian Oneþ <span dir="ltr">&lt;<a href="mailto:onet.cristian@gmail.com" target="_blank">onet.cristian@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
În data de Luni 09 Noiembrie 2009 23:35:17 Michaël Lhomme a scris:<br>
<div><div></div><div>&gt; On Mon, Nov 9, 2009 at 3:33 PM, Michaël Lhomme &lt;<a href="mailto:papylhomme@gmail.com" target="_blank">papylhomme@gmail.com</a>&gt; wrote:<br>
&gt; &gt; On Mon, Nov 9, 2009 at 2:18 PM, Alvaro Soliverez<br>
&lt;<a href="mailto:asoliverez@gmail.com" target="_blank">asoliverez@gmail.com</a>&gt;wrote:<br>
&gt; &gt;&gt; On Mon, Nov 9, 2009 at 10:10 AM, Michaël Lhomme<br>
&lt;<a href="mailto:papylhomme@gmail.com" target="_blank">papylhomme@gmail.com</a>&gt;wrote:<br>
&gt; &gt;&gt;&gt; Hello all,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; just to follow the original mail from Cristian about KMyMoney on<br>
&gt; &gt;&gt;&gt; Windows, I would like to say I&#39;m currently &quot;using&quot; it with Mac OSX 10.6<br>
&gt; &gt;&gt;&gt; (only screens &quot;Home&quot;, &quot;Ledgers&quot; and &quot;Schedules&quot;).<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Regarding the AqBanking plugin, the version currently provided by<br>
&gt; &gt;&gt;&gt; MacPorts seems to be too old (CMake complains about that). Is there<br>
&gt; &gt;&gt;&gt; anyone owning an OSX and using AqBanking with KMM (I never used it and<br>
&gt; &gt;&gt;&gt; I&#39;m not sure my bank is compatible, so it would be difficult for me to<br>
&gt; &gt;&gt;&gt; test it)<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Right now a patch is used to compile successfully :<br>
&gt; &gt;&gt;&gt; - OSX linker does&#39;nt support --no-undefined<br>
&gt; &gt;&gt;&gt; - there is a linkage problem with QtSQL (already fixed for the Windows<br>
&gt; &gt;&gt;&gt; port ?)<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Hello Michaël,<br>
&gt; &gt;&gt; can you create a patch for this?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; If these issues are platform-specific, it should be something like:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; #if MAC_OSX_compiler<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; #endif<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I don&#39;t know the specific name, but it must be easy to check in similar<br>
&gt; &gt;&gt; KDE apps on Mac.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; What about the other views? Are you getting crashes or they are just<br>
&gt; &gt;&gt; unable to compile?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards,<br>
&gt; &gt;&gt; Alvaro<br>
&gt; &gt;<br>
&gt; &gt; The patch is already done, with tests for the platform, but I can&#39;t get<br>
&gt; &gt; it at the moment (it is at home on my laptop). I&#39;ll upgrade my working<br>
&gt; &gt; copy with latest svn changes and send the patch tonight.<br>
&gt; &gt;<br>
&gt; &gt; About the other views, they seems to work, but I don&#39;t really use/test<br>
&gt; &gt; them, so I can&#39;t state they are working correctly.<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Michaël Lhomme<br>
&gt;<br>
&gt; Here is the patch to fix the problem with --no-undefined. The linkage issue<br>
&gt; with QtSql library was already fixed in latest SVN.<br>
&gt;<br>
&gt; I tested quickly the other basic views without problems. I didn&#39;t use<br>
&gt; Budgets and Investments so there are not tested. Reports are working well,<br>
&gt; including charts (from preset reports and old customized reports). However,<br>
&gt; updating the type of chart for an existing report lead to a crash.<br>
&gt;<br>
&gt; Finally I also encoutered a strange behavior on the Forecast view.<br>
&gt;  Scrolling control the scrollbars for tables (as usual) but also the<br>
&gt;  differents tabs, so when at the bottom of the table, if I keep scrolling,<br>
&gt;  the panel is updated with the previous tab (and the opposite if I scroll<br>
&gt;  up). I guess it&#39;s a (weird) feature of Qt on OSX. I will try to<br>
&gt;  investigate this ASAP as it&#39;s quite&quot;disturbing&quot; [literal translation from<br>
&gt;  french... ;)]<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt;<br>
</div></div>Wouldn&#39;t the test &#39;IF (APPLE)&#39; be more general instead of testing for Darwin?<br>
<br>
--<br>
Regards,<br>
<font color="#888888"><br>
Cristian Oneþ</font><br></blockquote></div><br></div></div>Indeed the test would be more generic using &#39;IF(APPLE)&#39;. Extract from the CMake wiki :<br><br>- APPLE<br>is TRUE on Apple systems.  Note this does <i>not</i> imply the system is Mac OS X, only that __APPLE__
is #defined in C/C++ header files. Obtain more specific system
information via CMAKE_SYSTEM_VERSION, i.e. IF(${CMAKE_SYSTEM_NAME}
MATCHES &quot;<span>Darwin</span>&quot;), then it&#39;s Mac OS X.<br><br>I must admit I have no idea if one solution is better than the other. Find another way to detect linker&#39;s specificity maybe a good alternative (something like CMAKE_COMPILER_IS_GNUCC but for the linker)<br>

<br clear="all"><br>-- <br><font color="#888888">Michaël Lhomme<br>
</font></div>