[SLOVED]Moving cursor or widget with lots of ghostings



  • 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
    @



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.