[Mageia-dev] Lazarus for qt

andre999 andre999mga at laposte.net
Wed Oct 12 15:30:07 CEST 2011


Joaquin Mandriva a écrit :
>
>
> 2011/10/12 andre999 <andre999mga at laposte.net 
> <mailto:andre999mga at laposte.net>>
>
>     Joaquin Mandriva a écrit :
>
>         Hello!
>
>         The package Lazarus in Cauldron only works on gtk2. For
>         working with qt
>         is neccesary to change the line of the file spec 'export
>         LCL_PLATFORM=gtk2'
>         to 'export LCL_PLATFORM=qt'.
>
>         Find an example of file spec here:
>         https://build.opensuse.org/package/view_file?file=lazarus-qt.spec&package=lazarus-qt&project=home%3Aenzokiel&srcmd5=b56e9b13184ee7e052da6b0a562a0947
>         <https://build.opensuse.org/package/view_file?file=lazarus-qt.spec&package=lazarus-qt&project=home%3Aenzokiel&srcmd5=b56e9b13184ee7e052da6b0a562a0947>
>         <https://build.opensuse.org/package/view_file?file=lazarus-qt.spec&package=lazarus-qt&project=home%3Aenzokiel&srcmd5=b56e9b13184ee7e052da6b0a562a0947
>         <https://build.opensuse.org/package/view_file?file=lazarus-qt.spec&package=lazarus-qt&project=home%3Aenzokiel&srcmd5=b56e9b13184ee7e052da6b0a562a0947>>
>
>
>
>         Afterwards, do what it is shown on the section "Quick start
>         guide for Linux"
>         of the website:
>         http://wiki.lazarus.freepascal.org/Qt_Interface
>
>         Which says:
>           - To visit:
>         http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html
>           - To download:
>         http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.4/bin-qt4pas-V2.4_Qt4.5.3.tar.gz
>           - To unpack: bin-qt4pas-V2.4_Qt4.5.3.tar.gz
>           - To copy files to /usr/lib
>
>         Lazarus QT is neccessary to pack Double Commander 0.5.1.
>
>
>         Regards,
>         Joaquin.
>
>
>     You're suggesting to make a companion package that works with QT ?
>
> Yes, it's necessary (for example) to pack Double Commander 0.5.1.
> http://doublecmd.sourceforge.net/
>
Following the various links from there, there is a gtk2 version of 
Double Commander 0.5.1 for Mandriva 2010.1 (called doublecmd-gtk)
http://software.opensuse.org/download.html?project=home:Alexx2000&package=doublecmd-gtk
(Click the Mandriva icon.)
It is in the official Mandriva repos.  (i586, x86_64, and src.rpm packages)
So it could be imported as an update.

Unless of course you want to avoid gtk2.

Since we are only talking about buildrequires between the Lazarus and 
Lazarus-qt, the difference is essentially requiring QT vs. resquiring gtk2.

Regards,

-- 
André



More information about the Mageia-dev mailing list