On 06/10/11 08:01, ayserd yawsedr wrote:
Hi,

Im new to ptxdist. Could you please tell me what to do with this file to
get Qt4.7?

Thanks in advance!

Hi,
sorry for my late answer, we had holiday yesterday and I did have the time to 
answer before the weekend.
In this mail I'll give you a short explanation howto apply the patches and which files have to be copied. Please note that the patches are not in ptxdist yet. So I'll describe the clean way to add the patches to your local project and not to ptxdist in general.

# Copy the qt4 rule files to your local project:
mkdir /YOURPROJECT/rules # if not existing
cp /usr/local/lib/ptxdist-2011.06.0/rules/qt4.* /YOURPROJECT/rules/

# Apply patch, which offers choice which version of Qt to build
cd /YOURPROJECT/
patch -p1 < 
/PathToPatch/ptxdist/0001-Offer-choice-between-Qt-4.6-and-Qt-4.7.patch

# Apply patch, which creates series file.
# This file contains a list which patches should be applied when building Qt.
mkdir /YOURPROJECT/patches # if not existing
patch -p1 < /PathToPatch/ptxdist/0001-Add-series-for-Qt-4.7.2.patch

# Copy my patches to /YOURPROJECT/patches/qt-everywhere-opensource-src-4.7.2/

cp /PathToPatch/0002-disable-ordered-compiling.patch \
/YOURPROJECT/patches/qt-everywhere-opensource-src-4.7.2/

cp /PathToPatch/0004-add-missing-subdir.patch \
/YOURPROJECT/patches/qt-everywhere-opensource-src-4.7.2/

# Copy the following patches from
# /usr/local/lib/ptxdist-2011.06.0/patches/qt-everywhere-opensource-src-4.6.3/ 
to
# /YOURPROJECT/patches/qt-everywhere-opensource-src-4.7.2/

0001-mkspec-for-ptxdist.patch
0003-Hack-hide-cursor-during-startup.patch
0005-Fix-dnd-issue-on-QWS.patch
0008-qmake-make-sure-local-include-dirs-come-first.patch
0009-phonon-fix-colors-for-video-on-qgraphicsview.patch


Hope this helps.
Best Regards

Marius

--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to