[Qt-interest] help tracking down memory corruption on Mac Qt 4.7.3 Cocoa (64 bit)
Atlant Schmidt
aschmidt at dekaresearch.com
Thu May 26 12:48:49 CEST 2011
Anton:
> qmake takes the pride to pass things to the moc and looks
> if used, if something needs a remoc + recompile. Someone
> has to do it, if it doesn't.
Perhaps I'm misreading your reply, and if I am, please
forgive me, but...
qmake isn't the thing that "makes" your program. Instead,
qmake is the "meta-maker": it makes the thing that will then
make your program. (That is, it produces the actual "make"
file.)
Via the information you provide via the .pro/.pri files,
qmake recognizes the dependencies and creates the make
file appropriately, but after that, it plays no further part in your
life until you alter the .pro or .pri files and need to recreate
the make file. The day-to-day "is this .moc file up-to-date"
and "is this .obj file up-to-date" is all handled by the make
file and not by qmake.
Projects can live very happily never running qmake, or only
running it once and then just hand-editing the once-generated
make file(s) after that. This is actually quite common when the
project includes a lot of non-Qt stuff; it's simpler that way.
Atlant
________________________________
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Anton Chernov
Sent: Thursday, May 26, 2011 04:32
To: Konstantin Tokarev
Cc: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] help tracking down memory corruption on Mac Qt 4.7.3 Cocoa (64 bit)
Ok, i got it.
qmake takes the pride to pass things to the moc and looks if used, if something needs a remoc + recompile. Someone has to do it, if it doesn't.
2011/5/26 Anton Chernov <mechernov at gmail.com<mailto:mechernov at gmail.com>>
What about moc's?
2011/5/25 Konstantin Tokarev <annulen at yandex.ru<mailto:annulen at yandex.ru>>
25.05.2011, 18:18, "Anton Chernov" <mechernov at gmail.com<mailto:mechernov at gmail.com>>:
> If you use qt, you use qmake. Even in Notepad.
Really? One can build project which uses Qt with any possible build system, or even without it (e.g. with one long gcc call :)
--
Regards,
Konstantin
Click here<https://www.mailcontrol.com/sr/EJF7SiKFZenTndxI!oX7Uu4ItyQZZf3fPvihxoac5iV06BF+wq84!36EhwSzBCjYeODEjxPBwmxhjvXYAQ53ow==> to report this email as spam.
________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110526/19e3cff0/attachment.html
More information about the Qt-interest-old
mailing list