[Kexi-devel] [MacPort] Porting Predicate to Qt5 let it begin

Jaroslaw Staniek staniek at kde.org
Fri Jan 2 16:25:02 UTC 2015


On 2 January 2015 at 17:20, Wojciech Kosowicz <pcellix at gmail.com> wrote:
> @Staniek I pushed another commit sqlite should be working I guess. Could you
> run tests? I'm going outside for few hours
> Would be cool if you could test it out.
> I know coding would require coding-style etc still I would like to do it as
> the last thing when I have it working
> In  main CMakeLists.txt set qt5CmakeDirectory variable accordingly and it
> should work. If you could do this and let me
> know about result would appreciate it :)

OK thanks I plan to do that.

@Boud yeah our idea is to also be as native as possible, no hacky
layers/environments on Mac/Windows.

>
> Best Regards,
> Wojtek
>
> 2015-01-02 17:14 GMT+01:00 Jaroslaw Staniek <staniek at kde.org>:
>>
>> @Wojciech OK, for review please join (fixup) commits into bits that
>> are functional and keeps coding standards.
>> Can fail to link or compile though. No problem.
>>
>> @Boud Do you have recommendations you'd use during porting?
>>
>> @Wojciech For example things such as $QTBasicLibs are not typical.
>>
>> When porting let's look at KF5 libs for buildsystem standards and
>> practices.
>> I think guildelines from techbase  such as
>> https://community.kde.org/Frameworks/Porting_Notes
>>
>> Look at example:
>>
>> http://quickgit.kde.org/?p=ktexteditor.git&a=blob&h=dd0dbf31f3b982ee9ca8a0f0b5891d6f0ad7843f&hb=fddd268459c301d92521b74a07fd84a1aff05a2d&f=src%2FCMakeLists.txt
>>
>> I know Predicate is Qt-only but a lot is in common.
>> Also, there must be a few 3rd-party Qt5 libs that we can use as a
>> reference too already.
>>
>> On 2 January 2015 at 16:57, Wojciech Kosowicz <pcellix at gmail.com> wrote:
>> > Ok when I finish with sqlite Predicate (i am very close) will start
>> > sending
>> > for review
>> > For now I work on branch qt5-kosowicz and want to run tests after sqlite
>> > is
>> > activated
>> > I'm very close. When it's done will start reviewing and working on more
>> > official branch
>> > Having sqlite working would give opportunity to start parallel work. As
>> > if I
>> > understand
>> > correctly this a core :)
>> >
>> > Best Regards,
>> > Wojciech Kosowicz
>> >
>> > 2015-01-02 16:52 GMT+01:00 Jaroslaw Staniek <staniek at kde.org>:
>> >>
>> >> BTW, let's have a porting plan, i.e. document/record what scripts are
>> >> to be executed, step by step.
>> >>
>> >> On 2 January 2015 at 16:39, Wojciech Kosowicz <pcellix at gmail.com>
>> >> wrote:
>> >> > Another commit pushed, 3 things remaining for sqlite predicate port
>> >> > to
>> >> > work:
>> >> >
>> >> >     In SqliteDriver.cpp:36 commented out need to figure it out
>> >> >     Predicate/Driver.h Q_DECLARE_INTERFACE need to figue out
>> >> >     Predicate/EscapedString.h changes of qbool
>> >> >
>> >> >
>> >> >
>> >> > 2015-01-02 16:06 GMT+01:00 Wojciech Kosowicz <pcellix at gmail.com>:
>> >> >>
>> >> >> Just made first commit at branch qt5-kosowicz of predicate
>> >> >> repository.
>> >> >> After making change in CMake setting one variable accordingly to
>> >> >> your
>> >> >> system. It should built
>> >> >> Any idea how will do review here? :)
>> >> >>
>> >> >> 2015-01-02 14:04 GMT+01:00 Wojciech Kosowicz <pcellix at gmail.com>:
>> >> >>>
>> >> >>> Ok I got round 40% compiling I push it to branch on Predicate
>> >> >>> qt5-kosowicz branch now with this as initial commit
>> >> >>>
>> >> >>> 2015-01-02 13:33 GMT+01:00 Jaroslaw Staniek <staniek at kde.org>:
>> >> >>>>
>> >> >>>> On 2 January 2015 at 13:02, Jaroslaw Staniek <staniek at kde.org>
>> >> >>>> wrote:
>> >> >>>> > On 2 January 2015 at 12:56, Wojciech Kosowicz
>> >> >>>> > <pcellix at gmail.com>
>> >> >>>> > wrote:
>> >> >>>> >> Hello,
>> >> >>>> >> Today I'm starting to port Predicate to Qt5. As I see there are
>> >> >>>> >> no
>> >> >>>> >> KDElibs
>> >> >>>> >> required therefore only might appear issues of introducing
>> >> >>>> >> changes
>> >> >>>> >> from qt5.
>> >> >>>> >> After it builds on Linux I'll start building it on Mac Os.
>> >> >>>> >
>> >> >>>> > Cool!
>> >> >>>> > Please use your branch such as qt5-kosowicz.
>> >> >>>> > A good verification after porting (except for "it compiles and
>> >> >>>> > links")
>> >> >>>> > is to:
>> >> >>>> > 1. run "ctest" in the build dir.
>> >> >>>> > 2. try manual tests at tests/features/.
>> >> >>>> >
>> >> >>>> > First please check if these tests work for you in case of Qt4
>> >> >>>> > version.
>> >> >>>> >
>> >> >>>> > CC'd to calligra-devel, as this is a part of porting-to-Qt5
>> >> >>>> > activity.
>> >> >>>>
>> >> >>>> ^Forgot to CC.
>> >> >>>>
>> >> >>>> --
>> >> >>>> regards, Jaroslaw Staniek
>> >> >>>>
>> >> >>>> KDE:
>> >> >>>> : A world-wide network of software engineers, artists, writers,
>> >> >>>> translators
>> >> >>>> : and facilitators committed to Free Software development -
>> >> >>>> http://kde.org
>> >> >>>> Calligra Suite:
>> >> >>>> : A graphic art and office suite - http://calligra.org
>> >> >>>> Kexi:
>> >> >>>> : A visual database apps builder - http://calligra.org/kexi
>> >> >>>> Qt Certified Specialist:
>> >> >>>> : http://www.linkedin.com/in/jstaniek
>> >> >>>
>> >> >>>
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> regards, Jaroslaw Staniek
>> >>
>> >> KDE:
>> >> : A world-wide network of software engineers, artists, writers,
>> >> translators
>> >> : and facilitators committed to Free Software development -
>> >> http://kde.org
>> >> Calligra Suite:
>> >> : A graphic art and office suite - http://calligra.org
>> >> Kexi:
>> >> : A visual database apps builder - http://calligra.org/kexi
>> >> Qt Certified Specialist:
>> >> : http://www.linkedin.com/in/jstaniek
>> >
>> >
>>
>>
>>
>> --
>> regards, Jaroslaw Staniek
>>
>> KDE:
>> : A world-wide network of software engineers, artists, writers,
>> translators
>> : and facilitators committed to Free Software development - http://kde.org
>> Calligra Suite:
>> : A graphic art and office suite - http://calligra.org
>> Kexi:
>> : A visual database apps builder - http://calligra.org/kexi
>> Qt Certified Specialist:
>> : http://www.linkedin.com/in/jstaniek
>
>



-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek


More information about the Kexi-devel mailing list