Today I've updated to Qt 5.9, I'm trying of use ScrollView, but this require this library: import QtQuick.Controls 2.3 When I import the library, and run, i receive this error:
QtQuick.Controls 2.3 is not installed.
This is impossibile, because I've installed last release qt 5.9
I need to use import QtQuick.Controls 2.1 to scroll content on android and ios.
Any solutions?
The documentation you link, is from the dev-branch of
Qt5.10
- this will probably come withQtQuick.Controls 2.3
, so the import-statement there seems legit.Your error-message is also correct, as
Qt5.9
ships withQtQuick.Controls 2.2
The documentation link of yours however states, that
ScrollView
is available sinceQt5.9
- which is also backed by the documentation of this version, that can be found here - however then it is necessary to import the installed versionQtQuick.Controls 2.2
If that does not work, I don't really see the superiority of the
ScrollView
over the old-style attatchingScrollBar
s toFlickable
s.