Active Topics

 


Reply
Thread Tools
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#1
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's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#2
You need to install libdbus devel packages and then recompile from scratch.

Binaries should arrive in a few days according to this blog post!!
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#3
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's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#4
I mean -dev its the development package of libqt4-dbus. Probably called libqt4-dbus-dev
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#5
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's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#6
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?
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#7
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's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#8
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...
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#9
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.
 
Posts: 287 | Thanked: 165 times | Joined on Oct 2009 @ The Netherlands
#10
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?



b.t.w. The debs still aren't here after a few days..

http://qt.nokia.com/developer/qt-for-maemo-developers
 
Reply

Tags
development, qt 4.6


 
Forum Jump


All times are GMT. The time now is 09:18.