inside a static function you can call only static functions. Emitting a signal is not a static function call.Therefore, it will not work. You need to work around this. You can change this func to be nonstatic.
引用第1楼steinlee于2010-02-17 01:14发表的 :inside a static function you can call only static functions. Emitting a signal is not a static function call.Therefore, it will not work. You need to work around this. You can change this func to be nonstatic.那静态函数我就是没办法更改,所以才如此头痛......
Use this static function to change a static variable. emit your signal just after this static func call according to the change of this static variable.引用第2楼kinzess于2010-02-17 12:50发表的 :那静态函数我就是没办法更改,所以才如此头痛......