![]() |
Anyone managed to compile Qt 4.6 on Ubuntu?
I downloaded Qt 4.6 from here
http://qt.nokia.com/developer/qt-for-maemo-developers And tried to install it on the latest Ubuntu virtual machine from here: https://garage.maemo.org/plugins/wik...id=1033&type=g Unfortunatly i get this error: Code:
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libQtDBus.so: undefined reference to `QObjectPrivate::checkWindowRole()' |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
You need to install libdbus devel packages and then recompile from scratch.
Binaries should arrive in a few days according to this blog post!! |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
I think i have the right one installed:
Code:
maemo@maemo-desktop:~/qt-x11-maemo-src-4.6.0-alpha1$ sudo apt-get install libqt4-dbus |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
I mean -dev its the development package of libqt4-dbus. Probably called libqt4-dbus-dev
|
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Hmm. can't find it:
Code:
maemo@maemo-desktop:~/qt-x11-maemo-src-4.6.0-alpha1$ apt-cache search qt4 | grep bus |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Oops, I meant libdbus-1-dev.
I think that SDK you have installed is not final. Try in scratchbox fakeroot apt-get update and then fakeroot apt-get dist-upgrade But wait. I see Qt4 stuff in apt-cache. Does this mean you already have a version of Qt installed? |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
I have Qt4 installed from Ubuntu using deb packages. I hoped to compile the new 4.6 Qt to see what changes in the interface of KeepassX. The menu looks a bit strange.
Installing libdbus-1-dev unfortunatly didn't help either. Same error as before. Guess i have to wait for the binaries.. |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Hmm, did you do make clean after installing -dev?
I'd uninstall Qt 4 from Ubuntu then. Because it'll conflict with environments like $QTDIR I found out its a known bug in GCC 4.3.3 which is solved in GCC 4.4. And, here (FR -> EN Google Translate) someone has same issue. Maybe, as workaround, disable dbus support... |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
I did a make clean and a make after that.
I had several comparable messages when installing the previous version of Qt. Until now i managed to get it working by installing debian packages. Found the names of the packages looking at the error message. I'll wait for the deb's to appear and get back here to report success or failure. Thanks for your time. |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Well, finally i managed to compile and install it. I installed a beta of Ubuntu 9.10 with gcc 4.4. That helped.
I recompiled keepassx but didn't see any difference. I hoped that the new qt would have Maemo buttons, menu's etc. The current pull down menu is on the left of the screen and looks exactly the same as under x86 Linux. Am i doing something wrong? How can i see if it's using the new Qt is used instead of the old one. Are these menu's generated or do you have to design a screen yourself? http://wiki.maemo.org/images/thumb/b...-Appmgr-13.png b.t.w. The debs still aren't here after a few days.. http://qt.nokia.com/developer/qt-for-maemo-developers |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Quote:
Out of curiosity are you the maintainer for the Diablo/Fremantle ports or did someone else do the Keepassx for Diablo. (I love Keepass) Quote:
Nathan. |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Quote:
Even if Qt 4.6 does provide this you usually need to add support for a newer version in the software which is keepassx in this example. Does keepassx know its running Maemo? If it doesn't know, and Qt isn't compiled to know its running Maemo, it should look like Linux/x86-32. Qt supports various styles (?), such as Win32, MacOSX, ... but on Linux/ARM there are multiple. Either there are multiple or the application has to be specifically updated to make use of new Qt 4.6 features. If there are specific Maemo features you probably see them in some test/example applications. No need for running keepassx. Your screenshot shows a GTK application. You need to compile Qt 4.6 in SDK, and compile keepassx against that Qt version. As I said, you probably need to tell Qt to enable Maemo support (might be called different). You can compile for x86-32 in SDK, no need for ARM(EL) yet, thats for when you gonna roll out and test on real hardware. |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
The Qt 4.6 libraries don't yet include all the hildon-specific changes. The Qt 4.5 community port is still the most integrate set of libraries, as far as I can tell. The 4.5 libraries that are currently in the device repositories are not the best, however.
The qt-maemo project on gitorious contains the best set of libraries I have used so far, and hopefully in the next few days they will be even better. The community port is going to be updated in the coming weeks (in the device repositories) and should give you the hildon look-and-feel you are expecting. As far as I know, a simple re-compile against the correct libraries should bring the majority of the features for hildon (finger sized widgets, kinetic scrolling, etc). Finding the right set of libraries to provide that seems to be the sticking point right now, but hopefully it will be clearer in the immediate future. Community port git repository: http://gitorious.org/+qt-maemo-developers/qt/qt-maemo |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Quote:
Quote:
I assumed that because i made maemo the target, the compiler knows what to change. It moves the buttonbar to the bottom and the menu to the left. So it does change something. I hoped for something more. But i'll definitly will try to go further with it. I didn't compile Keepass for just having an example. It's a must have for me. The screenshot is from the app manager. I'm a bit confused about you seeing a GTK application.. Quote:
Thanks all for your comments. |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Quote:
|
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
Well, look, I have KDE installed on one of my laptops. I run KeePassX under GNOME, and guess how it looks? ;) doesn't make the application unusable though.
The Application Manager uses GTK, not Qt. I concur, enabled Maemo support should disable desktop support unless explicitly specified otherwise. However enabling Maemo support in Qt may or may not make an application blend into all your current Hildon/GTK applications. It isn't reasonable to assume it will 1) Qt on Maemo is community supported; not officially supported; not priority 2) Fremantle and N900 are not yet officially released. However if it works well, all the better. The KeePassX database is compatible with PasswordSafe and KWallet (being ported to Maemo as part of KDE on Maemo) hence you can start to use either of these applications and use your KeePassX version later. Does Maemo Browser support either one of the above applications or GNOME Keyring? Is there a Hildonized/GTK(/GNOME) password manager? Such may be a suitable alternative for Maemo 5/Fremantle. |
Re: Anyone managed to compile Qt 4.6 on Ubuntu?
I asked Thiago Maceira and he said
Quote:
http://qt.nokia.com/developer/qt-for-maemo-developers Quote:
|
| All times are GMT. The time now is 09:18. |
vBulletin® Version 3.8.8