Nokia set to purchase Trolltech