ok problem is solved... u just had to load port setting after calling QIODevice:pen

easy correction directly in library