[Slackbuilds-users] Slackbuild for QT3 only app

Slacker build user slacker at slaphappygeeks.com
Fri Jun 4 19:20:30 UTC 2010


R. Andrew Bailey wrote:
> On 03/06/10 16:42 -0600, Slacker build user wrote:
>> Hello,
>>
>> I am finally getting my few packages updated to 13.1, and adding a new 
>> one I hope.
>>
>> I am building Bouml from http://bouml.free.fr/ which requires Qt3. It 
>> builds fine against Eric's kde3 compat Qt3 package on both 32 and 64 
>> (not multi-lib) boxes. But I have two questions:
>>
>> 1. I have to pass a properly set QTDIR variable so it can find the Qt3 
>> libs. Is there a preferred method of testing and exiting if this is 
>> not set? Or should it be hard-wired into the build script?
>>
>> 2. The make files all use qmake and have the var QMAKE=qmake hard 
>> wired into them in multiple places - which tries to use Qt4's qmake. 
>> It cannot use an environment var to override the path to qmake. For my 
>> own builds I have added a symlink /usr/local/bin/qmake => 
>> /opt/kde3/bin/qmake which I remove when done.
>>
>> Any suggestions for a more elegant way to direct it to Qt3 qmake? 
>> Patch the make files? Alias? Temporary symlink?
>>
>> Thanks,
>>
>> Robert
> 
> The "valkyrie" package does the same thing, I'd take a peek at it.
> 
>  .andy
> 
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - http://slackbuilds.org/faq/
>>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
> 
> 

Valkyrie passes the QTDIR path during ./configure, so the build process is 
designed to use that.

Bouml does not use automake-like sturcture so does not include a 'configure' 
script. The make scripts look for QTDIR and use it properly, but qmake is hard 
wired so I have to use a sed type solution I think.

I have a pretty solid build running now and will submit it as soon as 
submissions are open (or if anyone wants it I'll post link to this list).

Thanks for all help!


More information about the SlackBuilds-users mailing list