Results 1 to 8 of 8

Thread: Upgrading from Qt3 to Qt4

  1. #1
    Join Date
    Dec 2006
    Location
    Bangalore, India
    Posts
    38
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Upgrading from Qt3 to Qt4

    My system has both versions of Qt i.e Qt3.3.7 and Qt4.By default the qmake of Qt3 is being used.When i type qmake -v it displays Qt 3.3.7
    I would like to know how to use the qmake of Qt4 as the default.
    WINNERS DON`T D DIFFERENT THINGS THEY D THINGS differently.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Upgrading from Qt3 to Qt4

    Quote Originally Posted by Cutey View Post
    My system has both versions of Qt i.e Qt3.3.7 and Qt4.By default the qmake of Qt3 is being used.When i type qmake -v it displays Qt 3.3.7
    I would like to know how to use the qmake of Qt4 as the default.
    What system is that? For example Ubuntu has binaries called '/usr/bin/qmake-qt4' and '/usr/bin/qmake-qt3', whereas '/usr/bin/qmake' is a symbolic link which points to either one of these. In Ubuntu one can easily change the target with 'sudo update-alternatives --config qmake'.
    J-P Nurmi

  3. #3
    Join Date
    Feb 2008
    Posts
    19
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Upgrading from Qt3 to Qt4

    1)These are the details of my system

    Linux left 2.6.18.8-0.9-default #1 SMP Sun Feb 10 22:48:05 UTC 2008 i686 athlon i386 GNU/Linux
    2)We were not able to locate the \usr\bin\qmake file.

    Thank You.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Upgrading from Qt3 to Qt4

    So did you install Qt by hand or did you use packages from your distribution's repositories? If the former, just make sure that qmake from Qt 4 comes first in PATH.
    J-P Nurmi

  5. #5
    Join Date
    Feb 2008
    Posts
    19
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Upgrading from Qt3 to Qt4

    We are trying to make our application run on the client's set up so i'm not sure about he instillation.
    I would like to know the following
    1.Check to see whether Qt4 has been installed correctly?
    2.If Qt4 has been installed properly then how to make qmake of Qt4 as the default?

    When we type qmake -version,it display Qt 3.3.7 how to upgrade this?

    Thank You.

  6. #6
    Join Date
    Feb 2006
    Posts
    157
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4

    Default Re: Upgrading from Qt3 to Qt4

    Quote Originally Posted by jpn View Post
    What system is that? For example Ubuntu has binaries called '/usr/bin/qmake-qt4' and '/usr/bin/qmake-qt3', whereas '/usr/bin/qmake' is a symbolic link which points to either one of these. In Ubuntu one can easily change the target with 'sudo update-alternatives --config qmake'.
    Adding to archanasubodh we are using OpenSUSE 10.2 .
    So according to my understanding there will be Qt4.2 will be installed defaultly.

  7. #7
    Join Date
    Feb 2006
    Posts
    157
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4

    Default Re: Upgrading from Qt3 to Qt4

    Quote Originally Posted by archanasubodh View Post
    We are trying to make our application run on the client's set up so i'm not sure about he instillation.
    I would like to know the following
    1.Check to see whether Qt4 has been installed correctly?
    2.If Qt4 has been installed properly then how to make qmake of Qt4 as the default?

    When we type qmake -version,it display Qt 3.3.7 how to upgrade this?

    Thank You.
    Archana ,

    Please explain what all are the error messages , you are getting while doing qmake.
    This may help the forum-gurus to help you out.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Upgrading from Qt3 to Qt4

    Quote Originally Posted by archanasubodh View Post
    When we type qmake -version,it display Qt 3.3.7 how to upgrade this?
    You might be running the wrong qmake binary. What happens if you run qmake-qt4 -version?

Similar Threads

  1. Problems upgrading Qt3->Qt4, pkgconfig not happy
    By EricFowler in forum Installation and Deployment
    Replies: 3
    Last Post: 6th April 2008, 23:07
  2. Upgrading installation
    By Djony in forum Installation and Deployment
    Replies: 2
    Last Post: 30th November 2006, 17:42
  3. upgrading from 4.1.4 to 4.2.0
    By mandal in forum Installation and Deployment
    Replies: 4
    Last Post: 6th November 2006, 15:21
  4. Replies: 10
    Last Post: 10th February 2006, 00:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.