[Qt 5.3 RC] Framebuffer issues
-
Hello guys!
So, I have this project running in my Raspberry Pi Model-B board and everything works fine! But, the deal is about the framebuffer. Even I changing the framebuffer width and height, and doing other things with the video configuration, the Qt do not follow the configuration file, and load the screen with your own settings, again, even I try to force this using the method "resize", inside my code, it doesn't work.
What I have done?
Here is my code, it's just a simple WebKit widget to load HTML files:
@#include <QtWidgets/QApplication>
#include <QtWebKitWidgets/QWebView>
#include <QTextStream>int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QWebView *view = new QWebView();if (argc < 2) { QTextStream(stdout) << "[ERROR] You need to pass the file path or an URL!" << endl; exit(1); } char* path = argv[1]; view->load(QUrl(path)); view->show(); return app.exec();
}
@Does anyone know how can I change these videos settings?
Thanks!
EDIT:
Here is the example: "framebuffer issues":http://i.imgur.com/KldWwTA.jpg
Note in the picture, the corners is not aligned with the edges of the surface.