fixed timeout and converted qt_config.h to new format (not actually used anywhere yet)