[Development] No QT_NO_DEBUG in Qt5 cmake files

Thiago Macieira thiago.macieira at intel.com
Sun Aug 26 18:16:12 CEST 2012


On domingo, 26 de agosto de 2012 17.31.07, Peter Kümmel wrote:
> When building plugins, moc generates files with '#ifdef QT_NO_DEBUG'
> but the lib/cmake modules doesn't add QT_NO_DEBUG for release builds.
> A bug?

What are you talking about?

The moc program is the same, regardless of your buildsystem. CMake runs it to 
generate code, even if the automoc functionality is enabled. So the code 
generation is the same.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120826/1d70e8cb/attachment.sig>


More information about the Development mailing list