Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SLOVED]Moving cursor or widget with lots of ghostings
QtWS25 Last Chance

[SLOVED]Moving cursor or widget with lots of ghostings

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lwx_me
    wrote on last edited by
    #1

    Hi all,
    I writed a Demo in ARM Linux,it works fine(It workd on direct fb).
    And when I'm moving cursor or widget it has a lot ghostings!
    !http://www.youback.net/wp-content/uploads/selfupload/1.jpg(ghostings)!
    What's wrong?

    My codes:
    @
    MainWidget::MainWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::MainWidget)
    {
    ui->setupUi(this);
    QWSServer::setBackground(QBrush(Qt::NoBrush));
    setAttribute(Qt::WA_TranslucentBackground);
    }@

    My configure
    @
    ./configure -prefix $HOME/workspace/target/Qt4.8.4
    -opensource
    -confirm-license
    -qt-sql-sqlite
    -plugin-sql-sqlite
    -no-qt3support
    -no-phonon
    -no-svg
    -no-webkit
    -no-javascript-jit
    -no-script
    -no-scripttools
    -no-declarative
    -no-declarative-debug
    -qt-gfx-linuxfb
    -qt-zlib
    -no-gif
    -qt-libtiff
    -qt-libpng -no-libmng -qt-libjpeg
    -no-3dnow -no-avx -no-neon
    -no-openssl
    -no-nis
    -no-cups
    -no-dbus
    -embedded arm
    -xplatform /qws/linux-arm-g++
    -little-endian
    -qt-freetype
    -no-opengl
    -no-glib
    -nomake demos
    -nomake examples
    -nomake docs
    @

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lwx_me
      wrote on last edited by
      #2

      I changed @QWSServer::setBackground(QBrush(Qt::NoBrush));@
      to @QWSServer::setBackground(QBrush(QColor(0,0,0,0)));@
      It runs fine.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved