trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Re: [trinity-devel] kde-config -v reports incorrect qt version

From: Robert Xu <robxu9@...>
Date: Wed, 9 Mar 2011 14:52:35 -0500
On Wed, Mar 9, 2011 at 13:27, Darrell Anderson <humanreadable@...> wrote:
> Running "kde-config -v" reports I have qt-3.3.8b installed rather than 3.3.8c. Seems we should fix that for those who have run the 3.3.8c patch. :)
>
> Here is my attempt at patching the version. I recompiled qt and this patch worked for me. kde-config now reports 3.3.8c.
>
> Perhaps this patch should be merged with the existing 3.3.8c patch? Or just added to the wiki as a second patch?
>
> =====================================
> diff -urN qt-x11-free-3.3.8b/changes-3.3.8c qt-x11-free-3.3.8b.new/changes-3.3.8c
> --- qt-x11-free-3.3.8b/changes-3.3.8c   1969-12-31 19:00:00.000000000 -0500
> +++ qt-x11-free-3.3.8b.new/changes-3.3.8c       2011-03-09 11:51:42.720405330 -0600
> @@ -0,0 +1 @@
> +Qt 3.3.8c is a bug-fix release to support tqtinterface and cmake.
> diff -urN qt-x11-free-3.3.8b/src/tools/qglobal.h qt-x11-free-3.3.8b.new/src/tools/qglobal.h
> --- qt-x11-free-3.3.8b/src/tools/qglobal.h      2008-01-15 13:09:13.000000000 -0600
> +++ qt-x11-free-3.3.8b.new/src/tools/qglobal.h  2011-03-09 11:52:07.822403718 -0600
> @@ -41,7 +41,7 @@
>  #ifndef QGLOBAL_H
>  #define QGLOBAL_H
>
> -#define QT_VERSION_STR   "3.3.8b"
> +#define QT_VERSION_STR   "3.3.8c"
>  /*
>    QT_VERSION is (major << 16) + (minor << 8) + patch.
>  */
> =====================================
>
> Darrell
>
>

That might break some programs D:


-- 
later, Robert Xu