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

Qt-interest Archive, April 2007
Can't get qmake to accept setargv.obj


Message 1 in thread

I add the line : OBJECTS += <object file> to make qmake but
it keeps reporting that it can't find the file.
WARNING: Failure to find: "C:\Program Files\Microsoft Visual
Studio\VC98\Lib\SETARGV.OBJ"
I assume that it why it refuses to add it.

And YES the file is there.
for <object file> I tried:
SETARGV.OBJ
C:\Program Files\Microsoft Visual Studio\VC98\Lib\SETARGV.OBJ
"C:\Program Files\Microsoft Visual Studio\VC98\Lib\SETARGV.OBJ"
"C:/Program Files/Microsoft Visual Studio/VC98/Lib/SETARGV.OBJ"

But nothing works.

I can add it manually to the linker in the GUI but that is not acceptable

-- Gert.


--
 [ signature omitted ] 

Message 2 in thread

Hello Gert,


On Tue, 3 Apr 2007 16:18:18 +0100 "Gert van Loo" <gert@xxxxxxxxxxxx> wrote:

> I add the line : OBJECTS += <object file> to make qmake but
> it keeps reporting that it can't find the file.
> WARNING: Failure to find: "C:\Program Files\Microsoft Visual
> Studio\VC98\Lib\SETARGV.OBJ"
> I assume that it why it refuses to add it.
> 
> And YES the file is there.
> for <object file> I tried:
> SETARGV.OBJ
> C:\Program Files\Microsoft Visual Studio\VC98\Lib\SETARGV.OBJ
> "C:\Program Files\Microsoft Visual Studio\VC98\Lib\SETARGV.OBJ"
> "C:/Program Files/Microsoft Visual Studio/VC98/Lib/SETARGV.OBJ"
> 
> But nothing works.
> 
> I can add it manually to the linker in the GUI but that is not acceptable

Did you try w/ short names? c:\progra~1\ etc.


Regards,

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: PGP signature


Message 3 in thread

One step forward:
Yes! that worked as far as the warning goes.
So I have not warning anymore but I still have no
extra object reference in the microsoft dsp file.

I know you are not supposed to need 'OBJECTS' according to the qmake manual
but how else do I get that object in there.

For now I have added the object using the GUI and still wildcard
expansion does not work but that is a different issue.

So it seems I am stuck on all fronts.



> -----Original Message-----
> From: qt-interest-request@xxxxxxxxxxxxx
> [mailto:qt-interest-request@xxxxxxxxxxxxx]On Behalf Of wwp
> Sent: 03 April 2007 16:50
> To: qt-interest@xxxxxxxxxxxxx
> Subject: Re: Can't get qmake to accept setargv.obj
> 
> 
> Hello Gert,
> 
> 
> On Tue, 3 Apr 2007 16:18:18 +0100 "Gert van Loo" 
> <gert@xxxxxxxxxxxx> wrote:
> 
> > I add the line : OBJECTS += <object file> to make qmake but
> > it keeps reporting that it can't find the file.
> > WARNING: Failure to find: "C:\Program Files\Microsoft Visual
> > Studio\VC98\Lib\SETARGV.OBJ"
> > I assume that it why it refuses to add it.
> > 
> > And YES the file is there.
> > for <object file> I tried:
> > SETARGV.OBJ
> > C:\Program Files\Microsoft Visual Studio\VC98\Lib\SETARGV.OBJ
> > "C:\Program Files\Microsoft Visual Studio\VC98\Lib\SETARGV.OBJ"
> > "C:/Program Files/Microsoft Visual Studio/VC98/Lib/SETARGV.OBJ"
> > 
> > But nothing works.
> > 
> > I can add it manually to the linker in the GUI but that is not 
> acceptable
> 
> Did you try w/ short names? c:\progra~1\ etc.
> 
> 
> Regards,
> 
> -- 
> wwp
> 

--
 [ signature omitted ]