Sample Header Ad - 728x90

qmlscene can't find Qt installation even though qtchooser lists versions

4 votes
1 answer
2273 views
I'm running this in a folder with main.qml:
$ qmlscene main.qml
qmlscene: could not find a Qt installation of ''
Then I checked
$ qtchooser -list-versions
4
5
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5
... and tried
$ sudo qmlscene -qt=qt5-x86_64_linux-gnu main.qml
qmlscene: could not find a Qt installation of 'qt5-x86_64_linux-gnu'
Asked by user304200 (41 rep)
Aug 7, 2018, 02:26 PM
Last activity: Aug 7, 2025, 10:06 AM