Tuesday, 18. December 2007, 00:36:17

The upcoming Opera 9.50 will include a native Qt4 interface, which will allow the UI elements to be drawn using any Qt4 style installed on your system. This is how to test that particular feature on Ubuntu Linux 7.10.
0. PreparationsInstall a tool to configure the Qt4 style, run:
sudo aptitude install qt4-qtconfig
Which will also install Qt4 if you have not installed it previously. Now you can type:
qtconfig-qt4
to run the Qt4 config tool and select a style.
1. Download Qt4-enabled Opera 9.50 for UnixThere are a lot of different versions in one of the
snapshot directories. The one you'll want is <YOUR_PLATFORM>/opera-9.50-<TIMESTAMP>.9-static-qt.<PLATFORM>-<BUILD_NUMBER>.tar.bz2 (or tar.gz, they're identical). The shared-qt builds are currently still linked against Qt3, while the static-qt (NOT opera-static) builds are statically compiled against Qt4.
2. Unpack & installfor the bz2 archive use:
tar xfj opera-9.50-<TIMESTAMP>.9-static-qt.<PLATFORM>-<BUILD_NUMBER>.tar.bz2
for the gz archive use:
tar xfz opera-9.50-<TIMESTAMP>.9-static-qt.<PLATFORM>-<BUILD_NUMBER>.tar.bz2
a directory will be created, cd to that:
cd opera-9.50-<TIMESTAMP>.9-static-qt.<PLATFORM>-<BUILD_NUMBER>
Install Opera using:
sudo ./install.sh
you should now be asked where to install Opera. I chose /opt/opera-beta in order
not to mess with the stable 9.2x version I installed using package management! This is a good idea as the 9.50 unix snapshots are far from stable at the moment!Files shall be installed as follows:
-----------------------------------------------------------
Wrapper Script : /usr/bin
Binaries : /usr/lib/opera/9.50-20071213.9
Plugins : /usr/lib/opera/plugins
Shared files : /usr/share/opera
Documentation : /usr/share/doc/opera
Manual page : /usr/share/man
-----------------------------------------------------------
Is this correct [ y,n,c | yes,no,cancel ] ?
no <---- enter "n" or "no" here
Enter installation prefix [/usr]
/opt/opera-beta <---- enter installation path!
Confirm the following questions by pressing enter, you will again be presented a summary:
Files shall be installed as follows:
-----------------------------------------------------------
Wrapper Script : /opt/opera-beta/bin
Binaries : /opt/opera-beta/lib/opera/9.50-20071213.9
Plugins : /opt/opera-beta/lib/opera/plugins
Shared files : /opt/opera-beta/share/opera
Documentation : /opt/opera-beta/share/doc/opera
Manual page : /opt/opera-beta/share/man
-----------------------------------------------------------
Is this correct [ y,n,c | yes,no,cancel ] ?
yes
Opera will then be installed. I answered the following question with "no" as I thought it would possibly mess with the regular Opera installation:
System wide configuration files:
/etc/opera6rc
/etc/opera6rc.fixed
would be ignored if installed with the prefix "/opt/opera-beta".
Do you want to install them in /etc [ y,n | yes,no ] ?
no
Now, installation is finished!
3. Running OperaRunning Opera now is as easy as typing /opt/opera-beta/bin/opera into your terminal (or creating a panel shortcut with that command).
BEWARE that running Opera that way will load your default profile (~/.opera) and irreversibly try to convert your mail and other stuff to new formats! Use the -personaldir argument. Also, I found the -style argument useful while testing:
/opt/opera-beta/bin/opera -personaldir .opera-beta -style
4. Native Qt4 skinningUnder Tools -> Appearance -> Skin, you should see three skins, "Qt native", "windows skin" and "Opera standard". Select the Qt native skin. You may have to restart Opera for changes to have an effect. Now, try the
Qt4 native skin with Tango Icons I uploaded here, or try one of the skins I uploaded to my webspace:
http://opera.dragonriders.deHave fun!