Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, January 2008
Compiler Anywhere


Message 1 in thread

Hi All  ;-) ,


I've created a tiny portable distro of eclipse/MinGW, it's working well 
to me, but when I've added Qt/open source, I faced two problems with paths:


_*Problem/1/:*_
Every-time I change eclipse path I need to re-install, or re-compile Qt, 
because Qt didn't work with new path, for example:
If I installed Qt at C:/Qt/4.3.3, and then moved this folder to 
F:/Qt/4.3.3, Qt wouldn't compile any project, till I re-move it to the 
original install path.

_*Problem/2/:*_
For Qt- eclipse integration I couldn't change plug-in paths to the new one.


Could you help me, please  :'( ?


-- 
 [ signature omitted ] 

Message 2 in thread

Unfortunately, when you build (or install) Qt, the path is integrated in.
You must re-install to move it to a new location.

Hopefully, they will fix this design flaw in the near future. Paths should
be relative to qmake, not absolute, and qmake should determine where is is
when it is run, not have it hard-coded in.

Keith
**Please do not reply to me, reply to the list.**


On 01-29-2008 4:04 PM, "M. Bashir Al-Noimi" wrote:

> Hi All  ;-) ,
> 
> 
> 
> I've created a tiny portable distro of eclipse/MinGW, it's working well to me,
> but when I've added Qt/open source, I faced two problems with paths:
> 
> Problem/1/:
> Every-time I change eclipse path I need to re-install, or re-compile Qt,
> because Qt didn't work with new path, for example:
> If I installed Qt at C:/Qt/4.3.3, and then moved this folder to F:/Qt/4.3.3,
> Qt wouldn't compile any project, till I re-move it to the original install
> path.
> 
> Problem/2/:
> For Qt- eclipse integration I couldn't change plug-in paths to the new one.
> 
> 
> Could you help me, please  :'( ?
> 


Message 3 in thread

Keith Esau wrote:

> Unfortunately, when you build (or install) Qt, the path is integrated 
> in. You must re-install to move it to a new location.
>
> Hopefully, they will fix this design flaw in the near future. Paths 
> should be relative to qmake, not absolute, and qmake should determine 
> where is is when it is run, not have it hard-coded in.
>
Do you know when they'll fix this design flaw?

I've created this 
<http://hali-sy.svn.sourceforge.net/viewvc/*checkout*/hali-sy/release/qt-c%2B%2B.zip?revision=6>distro 
for Qt (it's a full C/C++/Qt IDE like VS.net) as a test, but it can be 
install at C driver only, you can test it.

-- 
 [ signature omitted ] 

Message 4 in thread

Have you tried adding a qt.conf file?  With the qt.conf file you can set the QT prefix the application uses.

 

Scott

 

________________________________

From: M. Bashir Al-Noimi [mailto:mhdbnoimi@xxxxxxxxx] 
Sent: Tuesday, January 29, 2008 5:05 PM
To: Qt Interest List
Subject: Compiler Anywhere

 

Hi All ;-) ,

 

I've created a tiny portable distro of eclipse/MinGW, it's working well to me, but when I've added Qt/open source, I faced two problems with paths:


Problem/1/:
Every-time I change eclipse path I need to re-install, or re-compile Qt, because Qt didn't work with new path, for example:
If I installed Qt at C:/Qt/4.3.3, and then moved this folder to F:/Qt/4.3.3, Qt wouldn't compile any project, till I re-move it to the original install path.

Problem/2/:
For Qt- eclipse integration I couldn't change plug-in paths to the new one.


Could you help me, please  :'( ?





-- 
 [ signature omitted ] 

Message 5 in thread

Scott Aron Bloom wrote:

> Have you tried adding a qt.conf file?  With the qt.conf file you can 
> set the QT prefix the application uses.
>
>  
>
No I didn't try it, and I don't know anything about it.

Do you mean mkspecs\win32-g++\qmake.conf ? if yes can you give me the 
string must be add to control path?


-- 
 [ signature omitted ] 

Message 6 in thread

> Von: "M. Bashir Al-Noimi"
> Scott Aron Bloom wrote:
> 
> > Have you tried adding a qt.conf file?  With the qt.conf file you can 
> > set the QT prefix the application uses.
> >
> >  
> >
> No I didn't try it, and I don't know anything about it.
> 
> Do you mean mkspecs\win32-g++\qmake.conf ? if yes can you give me the 
> string must be add to control path?
> 
http://doc.trolltech.com/4.3/qt-conf.html


Christian
-- 
 [ signature omitted ] 

Message 7 in thread

On onsdag den 30. Januar 2008, Christian Ehrlicher wrote:
> > Von: "M. Bashir Al-Noimi"
> >
> > Scott Aron Bloom wrote:
> > > Have you tried adding a qt.conf file?  With the qt.conf file you can
> > > set the QT prefix the application uses.
> >
> > No I didn't try it, and I don't know anything about it.
> >
> > Do you mean mkspecs\win32-g++\qmake.conf ? if yes can you give me the
> > string must be add to control path?
>
> http://doc.trolltech.com/4.3/qt-conf.html

It always surprises me that people don't at least type the words in the index 
search field in assistant. It would have answered the "what's qt.conf?" 
question immediately.

Bo.

-- 
 [ signature omitted ] 

Message 8 in thread

Christian Ehrlicher wrote:
>> Von: "M. Bashir Al-Noimi"
>> Scott Aron Bloom wrote:
>>
>>     
>> No I didn't try it, and I don't know anything about it.
>>
>> Do you mean mkspecs\win32-g++\qmake.conf ? if yes can you give me the 
>> string must be add to control path?
>>
>>     
> http://doc.trolltech.com/4.3/qt-conf.html
>
>
> Christian
>   
Thanks Chris,

I can't use qt.conf cuz it must provide in each Qt project, this is not 
practical solution.

All what I need is a way for using relative path to qmake not absolute!

-- 
 [ signature omitted ] 

Message 9 in thread

M. Bashir Al-Noimi wrote:

> Hi All ;-) ,
>
>
> I've created a tiny portable distro of eclipse/MinGW, it's working 
> well to me, but when I've added Qt/open source, I faced two problems 
> with paths:
>
>
> _*Problem/1/:*_
> Every-time I change eclipse path I need to re-install, or re-compile 
> Qt, because Qt didn't work with new path, for example:
> If I installed Qt at C:/Qt/4.3.3, and then moved this folder to 
> F:/Qt/4.3.3, Qt wouldn't compile any project, till I re-move it to the 
> original install path.
>
> _*Problem/2/:*_
> For Qt- eclipse integration I couldn't change plug-in paths to the new 
> one.
>
>
> Could you help me, please  :'( ?
>
Till now I couldn't solve Qt- eclipse integration issue, could you 
please help me?

-- 
 [ signature omitted ]