Skip to content
QtWS25 Call for Papers
  • 0 Votes
    7 Posts
    3k Views
    K

    @danielheise said in Qt5.0 Graphics acceleration improvement:

    Generally speaking what visual performance improves might be gained by moving to Qt5.0+? I understand this is quite the loaded question on several fronts.

    I assume that you have widgets-based kiosk application where almost everything is done by Q(Graphics)WebView. In this case, moving to Qt 5.x may be very important for you because it allows you to use newer WebKit.

    If your application allows browsing untrusted content, e.g. arbitrary web sites, using older WebKit may be dangerous because of unfixed security vulnerabilities In addition to security matters, QtWebKit 5.212 is much more compatible with moder Web content than older versions Even if you have control over the content that you disaply in your "browser", using newer WebKit allows you to use modern Web technologies like ES6, new HTML and CSS features etc.

    Now about "hardware graphics acceleration". It's possible with both Qt 4 and Qt 5. In Qt 4, hardware accelerated graphics is possible with DirectFB or platform-specific QWS plugins. You also can use OpenGL, in this case you need to use QGraphicsWebView with QGLWidget viewport (in Qt 5 there is newer QOpenGLWidget).

  • 0 Votes
    16 Posts
    8k Views
    R

    @kshegunov Yes yes I understand you and that was what I was trying to achieve but dunno why it didn't work fine. finally it works correctly without having to call it every time in every constructor of every wizardpage. The label that was not ok with the stylesheet had a QPalette with the colour and then some css with setStyleSheet() so seems that both are incompatibles and doing that the setStyleSheet() function was ignored. I've removed the QPalette and now it works perfect.

    Thanks for everything!

  • 0 Votes
    2 Posts
    2k Views
    A

    Issue resolved by configuring qt4.8.6 with configure option as follow ::

    sudo ./configure -prefix /usr/QT4.8.6 -opensource -embedded arm -depths all -xplatform qws/linux-imx6-g++ -release -shared -fast -pch -no-qt3support -qt-sql-sqlite -qt-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -no-openssl -nomake examples -nomake demos -nomake tools -optimized-qmake -no-phonon -no-nis -no-opengl -no-cups -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-xkb -no-sm -no-xinerama -no-xshape -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -no-kbd-qvfb -no-mouse-qvfb-qt-kbd-usb -confirm-license -svg -webkit -javascript-jit -script -scripttools -declarative -declarative-debug -multimedia -exceptions -xmlpatterns -plugin-mouse-tslib -qt-mouse-tslib -qt-freetype -qt-gfx-linuxfb -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-linuxinput

    option -depth all :: fix the issue

  • 0 Votes
    1 Posts
    834 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    SGaistS

    "Linux itself" is a bit broad. Is it Ubuntu based ? Debian based ? Something completely custom ? Does it use a package manager ?

  • 0 Votes
    1 Posts
    709 Views
    No one has replied
  • 0 Votes
    2 Posts
    1k Views
    V

    Its something completely custom. It does not have package manager.

  • 0 Votes
    3 Posts
    1k Views
    R

    @SGaist Ok, thank you so much!