You have to start TWS first. Then start QT and TWS will have a popup that asks if you want to accept a connection. Then should work when you tell it to start quotes.