[Qt-interest] Modifying qmake [was: Re: Qt-interest Digest, Vol 8, Issue 23]

Sean Harmer sean.harmer at maps-technology.com
Fri Jul 3 09:45:05 CEST 2009


On Friday 03 Jul 2009 08:36:41 Sean Harmer wrote:
> On Friday 03 Jul 2009 06:34:15 kamlesh sangani wrote:
> > Date: Thu, 2 Jul 2009 12:42:33 +0100
> > From: Sean Harmer <sean.harmer at maps-technology.com>
> > Subject: Re: [Qt-interest] How can i modify and compile files in Qmake
> > To: qt-interest at trolltech.com
> > Message-ID: <200907021242.33884.sean.harmer at maps-technology.com>
> > Content-Type: Text/Plain;  charset="iso-8859-15"
> >
> > On Thursday 02 Jul 2009 11:26:23 kamlesh sangani wrote:
> > > Hi,
> > >
> > > I want to modify some file in QMake directory and then compile it, how
> > > can i?
> >
> > Erm, edit the file and type (n)make perhaps? Or do you have some more
> > specific
> > problem?
> >
> > Sean
> >
> >
> > I have modified source file and then try to complie it using make command
> > i.e. Qt\4.5\qmake>make but it shows errors like no make.exe found.
> >
> > when i try to compile it with from parent directory i.e Qt\4.5\>make, it
> > compiled in half an hour and result was not reflected.
>
> What compiler are you using MinGW or MSVC? Did the compiler output actually
> show that it built your modified file? I don't think that qmake should take
> 30 mins to compile. Which source file are you editing?

I have just done a simple test here under Linux and executing make from within 
the qmake directory seems to build it fine here. Running make from the top-
level Qt directory does not build qmake as this is usually built as part of 
the configure process. Oh that's a point, did you build Qt yourself (and hence 
have run configure yourself), or did you use the pre-compiled Qt package? I 
have not checked that the Makefile for qmake exists in this case. Either way 
try re-running the configure application.

HTH,

Sean




More information about the Qt-interest-old mailing list