How to compile with gcc and Qt.