solve many compile errors.
Fix all compile errors.
solve all link errors.
get QObject* from lua stack.