Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

ScrollBar

$
0
0
I am not able to get a Scroll bar. I declared the QAbstractScrollBarPolicy in main.cpp and worked the commands given below QAbstractScrollArea::setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn); QAbstractScrollArea::setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn); getting the following error main.cpp:18: error: cannot call member function ‘void QAbstractScrollArea::setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy)’ without object

Viewing all articles
Browse latest Browse all 4972

Trending Articles