Announcement

Collapse
No announcement yet.

Upgrading Qt

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Upgrading Qt

    I'm going to come out and say I have NO IDEA what Qt is so please excuse me if I sound like a moron :P
    Anyway I'm running Kubuntu 9.04 on my iMac G5 and I'm getting graphical glitches: the icons have weird inverted colours (blue<->orange, red<->blue, etc.). I looked this problem up on the internet and found this page:
    https://bugs.kde.org/show_bug.cgi?id=163028
    Basically it says this bug is fixed in newer versions of Qt.
    So um yeah, how do I update Qt :P I can't find any simple instructions on google.

    Thanks

    #2
    Re: Upgrading Qt

    ...I have NO IDEA what Qt is...
    Qt is > Qt wiki:
    Qt (pronounced as the English word "cute") is a cross-platform application development framework, widely used for the development of GUI programs (in which case it is known as a widget toolkit), and also used for developing non-GUI programs such as console tools and servers. Qt is most notably used in KDE, Google Earth, Skype, Qt Extended, Adobe Photoshop Album, VirtualBox and OPIE....

    ...how do I update Qt...
    In the same way as other packages:

    The Qt 4.5.2 has been backported by the Kubuntu developers > Topic: KDE 4.3.2 Unofficially Released for Kubuntu 9.04 (Jaunty)

    The Kubuntu Backports PPA has > Package name contains: qt4-x11:
    Publishing details

    * Published on 2009-08-04

    Changelog

    qt4-x11 (4.5.2-0ubuntu2~jaunty1~ppa2) jaunty; urgency=low

    * Lets try uploading with a new version number

    Alternative ways > Topic: Installing QT 4.5.2 on Kubuntu 9.04


    Wait few days:

    [img width=400 height=79]http://people.canonical.com/~jriddell/karmic-countdown-banner/22.png[/img]

    ... and upgrade to the Kubuntu 9.10. It has the Qt 4.5.3 > [ubuntu/karmic] qt4-x11 4.5.3-0ubuntu1 (Accepted)
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Upgrading Qt

      How do I install packages from the PPA....
      I tried downloading the tar.gz file since my computer isn't AMD or intel, extracting it, and compiling it, but I get this error:

      Code:
      megabenman@ubuntu:~/Documents/qt-x11-opensource-src-4.5.2$ ./configure                  
      Which edition of Qt do you want to use ?                                 
      
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      
      o
      
      
      This is the Qt/X11 Open Source Edition.
      
      You are licensed to use this software under the terms of
      the GNU General Public License (GPL) versions 3.    
      You are also licensed to use this software under the terms of
      the Lesser GNU General Public License (LGPL) versions 2.1.
      
      Type '3' to view the GNU General Public License version 3.
      Type 'L' to view the Lesser GNU General Public License version 2.1.
      Type 'yes' to accept this license offer.
      Type 'no' to decline this license offer.
      
      Do you accept the terms of either license? yes
      
      Creating qmake. Please wait...
      g++ -c -o project.o -m64 -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/megabenman/Documents/qt-x11-opensource-src-4.5.2/include -I/home/megabenman/Documents/qt-x11-opensource-src-4.5.2/include/QtCore -I/home/megabenman/Documents/qt-x11-opensource-src-4.5.2/src/corelib/global -I/home/megabenman/Documents/qt-x11-opensource-src-4.5.2/src/script -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/megabenman/Documents/qt-x11-opensource-src-4.5.2/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
      make: g++: Command not found
      make: *** [project.o] Error 127

      Comment


        #4
        Re: Upgrading Qt

        I would:


        1) Add the "code" as attach (Additional Options). The "code" is not using word wrap -> it is really hard to read .


        2) Do a DIY Backport
        > FAQ: Installing from source >> DIY Backport

        a) Install the package: build-essential
        If you have this package installed, you only need to install whatever a
        package specifies as its build-time dependencies to build the package.
        b) Download from the Kubuntu Backport PPA:
        - qt4-x11_4.5.2.orig.tar.gz
        - qt4-x11_4.5.2-0ubuntu2~jaunty1~ppa2.diff.gz
        - qt4-x11_4.5.2-0ubuntu2~jaunty1~ppa2.dsc

        c) Unpack with the command:
        Code:
        dpkg-source -x qt4-x11_4.5.2-0ubuntu2~jaunty1~ppa2.dsc
        d) Read the "Build-Depends:" from the /qt4-x11-4.5.2/debian/control

        e) Install those packages

        f) Build the ".deb" packages with the command
        Code:
        dpkg-buildpackage -us -uc -rfakeroot
        g) Make a local/personal repository

        h) Upgrade the Qt packages from the personal repository.
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Upgrading Qt

          It's been compiling for about 6 hours lol... is this normal? The Konsole is printing stuff, no errors, but damn haha

          Comment


            #6
            Re: Upgrading Qt

            Alright I have my personal repository made and setup with the sources.list file. I don't know what to do now though? I can't find anything through adept, and sudo-apt get install qt4 doesn't work (says it can't find the file). Is there something specific I need to type?

            Comment


              #7
              Re: Upgrading Qt

              Alright I have my personal repository made and setup with the sources.list file....
              How did you build your Qt packages ?

              Did you build from the PPA debianized sources ?
              Then there (in your personal repository) should be something like:
              libqt4-assistant_4.5.2-0ubuntu2~jaunty1~ppa2...
              libqt4-assistant_4.5.2-0ubuntu2~jaunty1~ppa2...
              libqt4-assistant_4.5.2-0ubuntu2~jaunty1~ppa2...
              libqt4-core_4.5.2-0ubuntu2~jaunty1~ppa2...
              libqt4-core_4.5.2-0ubuntu2~jaunty1~ppa2...
              ...
              and the simple:
              Code:
              sudo apt-get update
              Code:
              sudo apt-get upgrade
              or
              Code:
              sudo apt-get dist-upgrade
              should do the trick.


              A checklist with the personal repository:
              You have made the "Packages.gz" ?
              You have updated ? (sudo apt-get update)
              Do your personal repository show in the output. Here:
              sudo apt-get update
              ...
              Ign file: jaunty/debs_for_jaunty Packages
              and as i have in the ~/packages/debs: autofsck_3.2-1_all.deb

              So the:
              Code:
              apt-cache show autofsck
              will tell:
              Package: autofsck
              Version: 3.2-1
              ...
              Filename: debs/autofsck_3.2-1_all.deb
              ..
              Before you edit, BACKUP !

              Why there are dead links ?
              1. Thread: Please explain how to access old kubuntu forum posts
              2. Thread: Lost Information

              Comment

              Working...
              X