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"><<a href="mailto:onet.cristian@gmail.com" target="_blank">onet.cristian@gmail.com</a>></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>> On Mon, Nov 9, 2009 at 3:33 PM, Michaël Lhomme <<a href="mailto:papylhomme@gmail.com" target="_blank">papylhomme@gmail.com</a>> wrote:<br>
> > On Mon, Nov 9, 2009 at 2:18 PM, Alvaro Soliverez<br>
<<a href="mailto:asoliverez@gmail.com" target="_blank">asoliverez@gmail.com</a>>wrote:<br>
> >> On Mon, Nov 9, 2009 at 10:10 AM, Michaël Lhomme<br>
<<a href="mailto:papylhomme@gmail.com" target="_blank">papylhomme@gmail.com</a>>wrote:<br>
> >>> Hello all,<br>
> >>><br>
> >>> just to follow the original mail from Cristian about KMyMoney on<br>
> >>> Windows, I would like to say I'm currently "using" it with Mac OSX 10.6<br>
> >>> (only screens "Home", "Ledgers" and "Schedules").<br>
> >>><br>
> >>> Regarding the AqBanking plugin, the version currently provided by<br>
> >>> MacPorts seems to be too old (CMake complains about that). Is there<br>
> >>> anyone owning an OSX and using AqBanking with KMM (I never used it and<br>
> >>> I'm not sure my bank is compatible, so it would be difficult for me to<br>
> >>> test it)<br>
> >>><br>
> >>> Right now a patch is used to compile successfully :<br>
> >>> - OSX linker does'nt support --no-undefined<br>
> >>> - there is a linkage problem with QtSQL (already fixed for the Windows<br>
> >>> port ?)<br>
> >><br>
> >> Hello Michaël,<br>
> >> can you create a patch for this?<br>
> >><br>
> >> If these issues are platform-specific, it should be something like:<br>
> >><br>
> >> #if MAC_OSX_compiler<br>
> >><br>
> >> #endif<br>
> >><br>
> >> I don't know the specific name, but it must be easy to check in similar<br>
> >> KDE apps on Mac.<br>
> >><br>
> >> What about the other views? Are you getting crashes or they are just<br>
> >> unable to compile?<br>
> >><br>
> >> Regards,<br>
> >> Alvaro<br>
> ><br>
> > The patch is already done, with tests for the platform, but I can't get<br>
> > it at the moment (it is at home on my laptop). I'll upgrade my working<br>
> > copy with latest svn changes and send the patch tonight.<br>
> ><br>
> > About the other views, they seems to work, but I don't really use/test<br>
> > them, so I can't state they are working correctly.<br>
> ><br>
> > --<br>
> > Michaël Lhomme<br>
><br>
> Here is the patch to fix the problem with --no-undefined. The linkage issue<br>
> with QtSql library was already fixed in latest SVN.<br>
><br>
> I tested quickly the other basic views without problems. I didn't use<br>
> Budgets and Investments so there are not tested. Reports are working well,<br>
> including charts (from preset reports and old customized reports). However,<br>
> updating the type of chart for an existing report lead to a crash.<br>
><br>
> Finally I also encoutered a strange behavior on the Forecast view.<br>
> Scrolling control the scrollbars for tables (as usual) but also the<br>
> differents tabs, so when at the bottom of the table, if I keep scrolling,<br>
> the panel is updated with the previous tab (and the opposite if I scroll<br>
> up). I guess it's a (weird) feature of Qt on OSX. I will try to<br>
> investigate this ASAP as it's quite"disturbing" [literal translation from<br>
> french... ;)]<br>
><br>
><br>
> Regards<br>
><br>
</div></div>Wouldn't the test 'IF (APPLE)' 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 'IF(APPLE)'. 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 "<span>Darwin</span>"), then it'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'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>