fixed warnings.
added qmake support.