Oh yeah :) ! Finally i have found the bug . The problem was the Load() func. it was before the ,,arduino = new QSerialPort ;" . Thanks for all of the help :) !!!