trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

Re: [trinity-devel] TQt3 Name Change - Potential Problem - what about apps that Need moc?

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 21 Jun 2012 15:03:43 -0500
On 06/20/2012 08:37 PM, Timothy Pearson wrote:
>>    After the TQt3 renaming, will it be possible to rebuild TQt3 & TDE with
>> Qt4
>> installed.
>
> That is the intent, and also one of the main reasons for the existence of
> TQt3 vs. the original unmodified Qt3.
>
> Tim
>
>

In the past we provided links to create 'tq....' functionality, what about 
reversing that logic to now create links to provide 'q....' functionality in 
the tqt3/bin dir? Seems logical -- will it work? Here is the old way Arch 
handled this and a new scheme based on the new names:

    make INSTALL_ROOT="$pkgdir" install
<snip>
    # install link the apps provided by qt3 so we don't collide with
    # qt4 and can run them.
#    Old tqt links from before renaming
#    ln -sf "${_prefix}/bin/assistant" "${pkgdir}${_prefix}/bin/tqassistant"
#    ln -sf "${_prefix}/bin/designer" "${pkgdir}${_prefix}/bin/tqdesigner"
#    ln -sf "${_prefix}/bin/linguist" "${pkgdir}${_prefix}/bin/tqlinguist"
#    ln -sf "${_prefix}/bin/lrelease" "${pkgdir}${_prefix}/bin/tqlrelease"
#    ln -sf "${_prefix}/bin/lupdate" "${pkgdir}${_prefix}/bin/tqlupdate"
#    ln -sf "${_prefix}/bin/moc" "${pkgdir}${_prefix}/bin/tqmoc"
#    ln -sf "${_prefix}/bin/qmake" "${pkgdir}${_prefix}/bin/tqqmake"
#    ln -sf "${_prefix}/bin/qtconfig" "${pkgdir}${_prefix}/bin/tqtconfig"

    # New links providing old package functionality
    ln -sf "${_prefix}/bin/tqassistant" "${pkgdir}${_prefix}/bin/assistant"
    ln -sf "${_prefix}/bin/tqdesigner" "${pkgdir}${_prefix}/bin/designer"
    ln -sf "${_prefix}/bin/tqlinguist" "${pkgdir}${_prefix}/bin/linguist"
    ln -sf "${_prefix}/bin/tqlrelease" "${pkgdir}${_prefix}/bin/lrelease"
    ln -sf "${_prefix}/bin/tqlupdate" "${pkgdir}${_prefix}/bin/lupdate"
    ln -sf "${_prefix}/bin/tqmoc" "${pkgdir}${_prefix}/bin/moc"
    ln -sf "${_prefix}/bin/tqmake" "${pkgdir}${_prefix}/bin/qmake"
    ln -sf "${_prefix}/bin/tqtconfig" "${pkgdir}${_prefix}/bin/qtconfig"
    ln -sf "${_prefix}/bin/tquic" "${pkgdir}${_prefix}/bin/uic"

   Will packages that relied on Qt3 still build if they use the new TQt3 binaries?

-- 
David C. Rankin, J.D.,P.E.