[Kmymoney-devel] playground/office/kmymoney/kmymoney2

Cristian Oneţ onet.cristian at gmail.com
Wed Oct 28 09:47:33 CET 2009


On Wed, Oct 28, 2009 at 10:38 AM, Thomas Baumgart <thb at net-bembel.de> wrote:
> On Wednesday 28 October 2009 08:53:37 Cristian Oneţ wrote:
>> On Wed, Oct 28, 2009 at 4:29 AM, Alvaro Soliverez <asoliverez at gmail.com>
> wrote:
>> > On Tue, Oct 27, 2009 at 7:17 PM, Cristian Oneţ <onet.cristian at gmail.com>
>> >
>> > wrote:
>> >> În data de Marți 27 Octombrie 2009 22:20:38 Alvaro Soliverez a scris:
>> >> > I'm not sure why KPluginDlg is not there, because it was a KMM class.
>> >> > You could check if it actually wasn't ported from the KDE3 version.
>> >>
>> >> A search in the source tree shows that KPluginDlg was removed. Anyway it
>> >> was
>> >> only used for this purpose (to select the online importer plugin if they
>> >> were
>> >> more than one) because the plugin configuration dialog was already
>> >> ported to
>> >> the standard KDE plugin widget since the KDE3 version.
>> >
>> > Ok, then. I agree that it's not necessary to have a whole ui class just
>> > for that.
>> > BTW, just looking at the commits yesterday I realized what a great team
>> > we have. Cristian ported the methods to detect multiple instances, then
>> > Fernando fixed some iterators that caused trouble after that. I was
>> > trying to compile in the meantime, so Fernando's fix did the trick.
>> > I just want to say that I'm sure that with this kind of joint effort, we
>> > are on the right track to build a great application. :)
>>
>> My sandbox didn't have the check strict iterators Qt flag (don't know
>> why I haven't updated before the commit) so thanks to Fernando for the
>> fix :).
>
> stupid question: where do I find this check? How do I activate it?
>
It was added by Laurent in revision 1040342.

Here is the diff:
--- trunk/playground/office/kmymoney/CMakeLists.txt #1040341:1040342
@@ -35,7 +35,7 @@
 include( KMyMoneyMacros )
 find_package(KdepimLibs REQUIRED)

-add_definitions( ${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+add_definitions( ${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT_STRICT_ITERATORS)
 add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)

 include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}


More information about the KMyMoney-devel mailing list