Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Anyone managed to compile Qt 4.6 on Ubuntu?

    Reply
    Page 1 of 2 | 1   2   | Next
    robbie | # 1 | 2009-10-11, 07:31 | Report

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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    allnameswereout | # 2 | 2009-10-11, 08:44 | Report

    You need to install libdbus devel packages and then recompile from scratch.

    Binaries should arrive in a few days according to this blog post!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    robbie | # 3 | 2009-10-11, 09:58 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    allnameswereout | # 4 | 2009-10-11, 10:06 | Report

    I mean -dev its the development package of libqt4-dbus. Probably called libqt4-dbus-dev

    Edit | Forward | Quote | Quick Reply | Thanks

     
    robbie | # 5 | 2009-10-11, 15:18 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    allnameswereout | # 6 | 2009-10-11, 15:55 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    robbie | # 7 | 2009-10-11, 17:14 | Report

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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    allnameswereout | # 8 | 2009-10-11, 17:47 | Report

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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    robbie | # 9 | 2009-10-12, 08:44 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    robbie | # 10 | 2009-10-16, 06:17 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout