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