[Releasing] Compiling Qt 5 alpha 20120314: msvc2010 release build

Thiago Macieira thiago.macieira at intel.com
Mon Mar 19 01:08:29 CET 2012


On segunda-feira, 19 de março de 2012 10.04.53, Rohan McGovern wrote:
> Thiago Macieira said:
> > On segunda-feira, 19 de março de 2012 09.49.34, Rohan McGovern wrote:
> > > One problem with having any part of Qt disabled by default is
> > > that there is not actually a way to _enable_ such parts again via
> > > configure arguments.
> > > 
> > > Well, Unix configure has -nomake and -make (e.g. -nomake tests disables
> > > tests, -make tests would enable tests if they were disabled by default).
> > > 
> > > Windows configure.exe however has -nomake to disable parts, and no way
> > > to _enable_ parts.  (There is a -make option but it has entirely
> > > different meaning than on Unix).
> > 
> > We have an option to enable the tests. Throughout Qt3 and Qt4, the tests
> > were enabled by -developer-build
> 
> The tests should be possible to enable for non-developer-build
> configurations, since that is the configuration which the majority of Qt
> users are supposed to use, and we ought to be able to test it.

True. But you can still do:
	cd tests && qmake -r

> > or by the LICENSE.TROLL file's presence. Why don't we do the same?
> 
> It's needlessly obfuscated for one thing.  How many people do you think
> actually knew this? :)

I wasn't advocating using the LICENSE.TROLL file (which, by the way, had to 
have some specific words inside to enable the functionality). I was just saying 
that it was done before.

> I'm simply suggesting that the tests are treated like other parts of the
> build (e.g. like examples): they're a subtree which can be entirely
> enabled/disabled at configure time.  But that enabling/disabling
> mechanism is not very good at the moment.

Indeed, that would be better.

-- 
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/releasing/attachments/20120319/610e8cfa/attachment.sig>


More information about the Releasing mailing list