October 15, 2010

riussi riussi
Lab Rat
27 posts

[Solved] Qt build-flags

 

I remember seeing some configure options for not building the demos and examples while building Qt way back but they aren’t shown in configure —help nowadays.

Usually I just comment those out from the .pro-file but why aren’t there options to not compile those directly in configure?

 Signature 

Juha Ristolainen (@Riussi)

3 replies

October 15, 2010

Deleted Member # 4a2 Deleted Member # 4a2
Ant Farmer
1481 posts

if you see the configure file,

  1. QT_DEFAULT_BUILD_PARTS="libs tools examples demos docs translations"
  2. ...
  3. -nomake <part> ..... Exclude part from the list of parts to be built.

you can play with this and try?

October 15, 2010

riussi riussi
Lab Rat
27 posts

Yes, that did the trick. Thx.

  1. -nomake demos -nomake examples

 Signature 

Juha Ristolainen (@Riussi)

October 15, 2010

Deleted Member # 4a2 Deleted Member # 4a2
Ant Farmer
1481 posts

hadn’t tried it myself… glad it worked :)

 
  ‹‹ Qt loads plugins of release version on a debug build - Mac only      Old SDK version ››

You must log in to post a reply. Not a member yet? Register here!