Commit 27be9b0b authored by Rafaël Carré's avatar Rafaël Carré

contrib: qt4: only disable cde, motif, plastique and cleanlooks style

This keeps windows and mac styles (for mac builds)
parent 1be6b748
...@@ -20,7 +20,7 @@ $(TARBALLS)/qt-$(QT4_VERSION).tar.gz: ...@@ -20,7 +20,7 @@ $(TARBALLS)/qt-$(QT4_VERSION).tar.gz:
qt4: qt-$(QT4_VERSION).tar.gz .sum-qt4 qt4: qt-$(QT4_VERSION).tar.gz .sum-qt4
$(UNPACK) $(UNPACK)
patch -p0 < $(SRC)/qt4/cross.patch patch -p0 < $(SRC)/qt4/cross.patch
sed -i.orig s/'QMakeVar add styles "cde mac motif plastique cleanlooks windows"'// qt-everywhere-opensource-src-4.7.4/configure patch -p0 < $(SRC)/qt4/styles.patch
mv qt-everywhere-opensource-src-4.7.4 $@ && touch $@ mv qt-everywhere-opensource-src-4.7.4 $@ && touch $@
XTOOLS := XCC="$(CC)" XCXX="$(CXX)" XSTRIP="$(STRIP)" XAR="$(AR)" XTOOLS := XCC="$(CC)" XCXX="$(CXX)" XSTRIP="$(STRIP)" XAR="$(AR)"
......
--- qt-everywhere-opensource-src-4.7.4/configure.orig 2011-11-10 17:44:02.427883340 -0500
+++ qt-everywhere-opensource-src-4.7.4/configure 2011-11-10 17:44:13.915940309 -0500
@@ -584,7 +584,7 @@
rm -f "$outpath/config.tests/.qmake.cache"
cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
-QMakeVar add styles "cde mac motif plastique cleanlooks windows"
+QMakeVar add styles "mac windows"
QMakeVar add decorations "default windows styled"
QMakeVar add mouse-drivers "pc"
if [ "$UNAME_SYSTEM" = "Linux" ] ; then
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment