Fix building on configurations without opengl


Task-number: QTBUG-60881
Change-Id: Iffdcfe1ebfe81da9b809dceeff61fca044e94891
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit5ff41c101f66d0790df21f0bebf1626f8c14ffae
parent5767601d95e33b20962d0cd88cc6ce5c8c724a91
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeSat, 20 May 2017 18:16:13 +0000