QScrollArea *scrollArea = new QScrollArea(this);
scrollArea->verticalScrollBar()->width();
Im trying to get the width of verticalScrollBar of QScrollArea. So I ran the code above and I got “member access into incomplete type QScrollBar error”. What did I do wrong? and How can i get the width of verticalScrollBar?