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