See appended patch... Frederik Pasch
Created attachment 2785 [details] Disable qt3support-option if gui isn't selected
Thanks, committed with some tweaks (network is selected by gui, and qt3 support works with static builds as well).