Making search work without QString