[Qt-interest] No scrollbars with WebKit Mac OS X Qt 4.5.2

Andy Bell andy.bell at allbabel.com
Mon Sep 28 19:46:46 CEST 2009


Hi All,
I have a QWebView displaying a web page using the CleanLooks style on Mac OS
X Qt 4.5.2.  The problem is the scroll area does not draw the scrollbars,
they are just grey gaps!

Here is the code:

#include <QtGui>

#include <QtWebKit>


int main(int argc, char * argv[])

{

QApplication a( argc, argv );

QWebView *view = new QWebView(NULL);

view->load(QUrl("http://qtsoftware.com/"));

QApplication::setStyle( new QCleanlooksStyle );

view->show();

return a.exec();

}


Any ideas?

Thanks in advance
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090928/18a95599/attachment.html 


More information about the Qt-interest-old mailing list