Adapt filter config to client/server in qt.
Remove some import *