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.
Re: Upgrading from Qt3 to Qt4
Quote:
Originally Posted by
Cutey
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'.
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.
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.
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.
Re: Upgrading from Qt3 to Qt4
Quote:
Originally Posted by
jpn
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.
Re: Upgrading from Qt3 to Qt4
Quote:
Originally Posted by
archanasubodh
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.
Re: Upgrading from Qt3 to Qt4
Quote:
Originally Posted by
archanasubodh
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?