[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?



  • if you see the configure file,
    @
    QT_DEFAULT_BUILD_PARTS="libs tools examples demos docs translations"
    ...
    -nomake <part> ..... Exclude part from the list of parts to be built.
    @
    you can play with this and try?



  • Yes, that did the trick. Thx.

    @-nomake demos -nomake examples@



  • hadn't tried it myself... glad it worked :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.