Opera 9.51 deb with QT4 native style

July 3, 2008

Opera does not provide QT4 Linux build (9.51 release) from it’s download page. Here is the link from where, it can be downloaded.

Here is the Linux patch to get Opera working with your QT4 native style.

<code>

— opera.orig    2008-07-03 17:08:05.000000000 +0530
+++ opera    2008-07-03 17:08:15.000000000 +0530
@@ -37,7 +37,7 @@ done
case $0 in /*) OPERA_SCRIPT_PATH=$0;; *) OPERA_SCRIPT_PATH=`/bin/pwd`/$0;; esac
export OPERA_SCRIPT_PATH

-[ “$_QTSTYLE_FROM_CMDLINE_” = NO ] && [ -f “$HOME/.qt/qtrc” ] && _OPERA_QTSTYLE=`sed -n ‘s/^style=//p’ $HOME/.qt/qtrc` && [ “$_OPERA_QTSTYLE” ] && set — “$@” -style “$_OPERA_QTSTYLE”
+[ “$_QTSTYLE_FROM_CMDLINE_” = NO ] && [ -f “$HOME/.config/Trolltech.conf” ] && _OPERA_QTSTYLE=`sed -n ‘s/^style=//p’ $HOME/.config/Trolltech.conf` && [ “$_OPERA_QTSTYLE” ] && set — “$@” -style “$_OPERA_QTSTYLE”

OPERA_SYSTEM_UNAME=`uname -s`
export OPERA_SYSTEM_UNAME

</code>

Advertisements

4 Responses to “Opera 9.51 deb with QT4 native style”


  1. […] Noticia Original de | My Epic My Universe […]

  2. Dean Says:

    How can i use this patch on Ubuntu?

    Many thanks

  3. archan Says:

    Keep a backup copy of /usr/bin/opera file and apply this patch using “cat patch_file.txt | patch -p1 opera”. Otherwise, you can manually replace the line with “-” sign with the line mentioned with “+” sign.

    Good luck.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: