[Qt-interest] qt 4.7 installer: there's a problem with your mingw installation
Gabriele Kahlout
gabriele at mysimpatico.com
Tue May 11 13:29:43 CEST 2010
OK, I've managed to reproduce this on Windows XP with Qt 4.7 beta 1.
This is Qt problem. qmake generates invalid makefile, without any path
separator at all between "bin" and tool name ("uic", "idc", "moc").
E.g. I see the following buggy lines in the makefile produced by qmake:
> IDC = c:/util/qt-4.7b1/binidc.exe
> ...
> ui_HelloForm.h: HelloForm.ui
> c:/util/qt-4.7b1/binuic.exe HelloForm.ui -o ui_HelloForm.h
This is without NetBeans at all, pure command line.
Please file a bug against Qt.
------- *Comment
#6<http://netbeans.org/bugzilla/show_bug.cgi?id=185806#c6>From Alexey
Vladykin <alexey_vladykin at netbeans.org> 2010-05-11 07:28:30*
(-)<http://netbeans.org/bugzilla/show_bug.cgi?id=185806#>[
reply <http://netbeans.org/bugzilla/show_bug.cgi?id=185806#add_comment>]
-------
To clarify: I saw this problem when running qmake from both MSYS shell and cmd.
---------- Forwarded message ----------
From: Alexey Vladykin <Alexey.Vladykin at sun.com>
Date: 2010/5/11
Subject: Re: [Bug 185806] windows path from qmake not converted into unix as
required by mingw sh.exe
To: Gabriele Kahlout <gabriele at mysimpatico.com>
Cc: qt-interest at trolltech.com
Yes, Qt Creator uses CONFIG+=debug_and_release (this is the default) and
generates two makefiles: Makefile.Debug and Makefile.Release. They
contain correct paths.
NetBeans uses CONFIG-=debug_and_release (explicitly), and the generated
makefile contains wrong paths for some unknown reason.
Alexey
On 11.05.2010 11:40, Gabriele Kahlout wrote:
> So you claim that Qt Creator then does some special thing to make the
> same work?
>
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer OR with
" ACK" appended to this subject within 48 hours. Otherwise, I might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this)
∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a priori
senders, or if the subject of this email ends with a code, eg. -LICHT01X,
then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y,
subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
2010/5/9 Gabriele Kahlout <gabriele at mysimpatico.com>
> hmm... through the command line I get by.
>
> How about qmake -something that makes qmake generate unix shells?
> There ought to be a solution where I could still use my IDE. What's missing
> is crucial, and the netbeans guys don't document such problems.
>
> 2010/5/9 Konrad Rosenbaum <konrad at silmor.de>
>
>> On Sunday 09 May 2010, Gabriele Kahlout wrote:
>> > and C:\MingW\bin is in my path also. Just in case some one points this
>> > out. I've adding and removing it.
>> >
>> > and everytime a different taste:
>> >
>> > /bin/sh.exe: C:Qtbin/uic.exe: No such file or directory
>> > make[3]: *** [ui_mainwindow.h] Error 127
>> > make[2]: *** [release] Error 2
>> >
>> > Is this a bug in qmake?
>>
>> No, it is a missing feature. The makefiles generated for Windows contain
>> backslashes instead of slashes. Unix shells interpret those as escape
>> sequences instead of directory delimiters. sh.exe is a windows port of a
>> Unix shell. Guess what happened!
>>
>> Solution: call qmake and make in cmd.exe. Yes, it is a really shitty
>> excuse
>> for a shell, but it works well enough for this.
>>
>>
>> Konrad
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
>
> --
> Regards,
> K. Gabriele
>
> --- unchanged since 25/1/10 ---
> P.S. Unless a notification (LON), please reply either with an answer OR
> with " ACK" appended to this subject within 48 hours. Otherwise, I might
> resend.
> In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this)
> ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
> ¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
>
> Also note that correspondence may be received only from specified a priori
> senders, or if the subject of this email ends with a code, eg. -LICHT01X,
> then also from senders whose reply contains it.
> ∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y,
> subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
>
>
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer OR with
" ACK" appended to this subject within 48 hours. Otherwise, I might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this)
∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a priori
senders, or if the subject of this email ends with a code, eg. -LICHT01X,
then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y,
subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100511/93b56ff3/attachment.html
More information about the Qt-interest-old
mailing list