Whilst the OpenGL Qt vis driver is not built unless both G4UI_NONE and G4VIS_NONE are not set, it contains a dependency on the Qt UI (through use of G4Qt). This must therefore be built - and it may not be even if G4UI_NONE was not set. There needs to be an extra check before the user is offered the opportunity to build the driver. Reassign to me and I'll fix! Ben.
This is now fixed in CVS - the user will not be asked if they want the OpenGL Qt driver built unless the Qt UI module is also selected.