thandks for your answer!
the Qt I am used is Qt4.2.3,and the OS is WindowsXP; According to your reply,how can I deal with the question?Can I set the directory path in QModel before the program run?So,it can reduce the scan time。
thanks a lot!