[Qt-interest] Qt 4.5.2 installation

Tomasz 'Trog' Welman twelman at swmud.pl
Fri Aug 21 14:57:54 CEST 2009


On Fri, 21 Aug 2009, Bijay Panda wrote:

> Hi,
> When i tried to write export PATH="/usr/local/Trolltch/Qt4.5.2/bin:$PATH"
> into .bashrc file. ans relogin it shows this error at the first time i
> opened a terminal.But directly invoking
> /usr/local/Trolltech/Qt-4.5.2/bin/qmake working fine.
> I am unable to link qt4.5.2 a default.Please help me.
>
>
> bash: export:
> `=/usr/local/Trolltech/Qt-4.5.2/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin':
> not a valid identifier
>
> On Wed, Aug 19, 2009 at 11:57 AM, Tomasz 'Trog' Welman <twelman at swmud.pl>wrote:
>
>> On Wed, 19 Aug 2009, Bijay Panda wrote:
>>
>>  Hi All,
>>> I am using Qt 4.5.2 in RHEL 5.1.Earlier i my machine qt3.3.6 was installed
>>> bydefault.Now i complied the source code for qt4.5.2 and installed it.By
>>> default it in the path /usr/local/Trolltch/Qt4.5.2 .Now when I am creating
>>> project by default qmake of qt3.3.6 is getting linked.I want to use qmake
>>> of
>>> 4.5.2 .How to do it.Sha;; i mention the path somewhere .Any help is
>>> appreciated.
>>>
>>>  You can either invoke it directly: /usr/local/Trolltch/Qt4.5.2/bin/qmake
>> or prepend your enviroment variable PATH with: /usr/local/Trolltch/Qt4.5.2.
>> You can just put:
>> export PATH="/usr/local/Trolltch/Qt4.5.2/bin:$PATH" into ~/.bashrc or
>> equivalent for shell you are currently running, then re-login and qmake
>> will result in calling qmake from /usr/local/Trolltch/Qt4.5.2/bin.
>>
>>

Could you show me the exact content of your ~/.bashrc file?
Looking at the error you provided I can suspect there is a syntax
error somewhere.

Maybe the space between PATH and =? :-)


--
Tomasz 'Trog' Welman



More information about the Qt-interest-old mailing list