| 1   2   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Anyone managed to compile Qt 4.6 on Ubuntu? (https://talk.maemo.org/showthread.php?t=32677)

robbie 2009-10-11 07:31

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()'
collect2: ld returned 1 exit status
make[1]: *** [../../../bin/uic3] Error 1
make[1]: Leaving directory `/home/maemo/qt-x11-maemo-src-4.6.0-alpha1/src/tools/uic3'
make: *** [sub-uic3-make_default-ordered] Error 2

I googled but no luck.. :(

allnameswereout 2009-10-11 08:44

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!!

robbie 2009-10-11 09:58

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
Reading package lists... Done
Building dependency tree     
Reading state information... Done
libqt4-dbus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


allnameswereout 2009-10-11 10:06

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

robbie 2009-10-11 15:18

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
python-qt4-dbus - DBus Support for PyQt4
python-qt4-dbus-dbg - DBus Support for PyQt4 (debug extensions)
ibus-qt4 - New input method framework using dbus
libqt4-dbus - Qt 4 D-Bus module


allnameswereout 2009-10-11 15:55

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?

robbie 2009-10-11 17:14

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..

allnameswereout 2009-10-11 17:47

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...

robbie 2009-10-12 08:44

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.

robbie 2009-10-16 06:17

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


| 1   2   | Next
All times are GMT. The time now is 13:04.

vBulletin® Version 3.8.8