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?