Qt World Summit: Submit your Presentation

LinuxFB as display platform doesn't work for Qt v5.1.1

  • I'm compiling Qt v5.1.1 for Zynq embedded system (ARM and FPGA) with these arguments provided to "configure" script:

    -arch arm
    -xplatform linux-arm-gnueabi-g++
    -qpa linuxfb
    -nomake examples
    -nomake tests
    -prefix /opt/qt@

    After the compilation I build a few examples manually and am able to run them on the target, but when I do that two problems occur:

    1. First problem is same as described in "this question":http://qt-project.org/forums/viewthread/30414, namely I'm able to interact with the program by using mouse, but am unable to see the mouse-cursor (it is invisible)!

    I've tried to:

    provide -plugin evdevmouse argument to the application,

    compile the qt with additional arguments -qt-mouse-linuxinput - but that argument doesn't exist.

    2. Second problem is that applications don't have "titlebar" nor "minimize,maximize,close" buttons.

    I've tried to add this line in apps constructor (application compiles, but buttons don't appear):
    @setWindowFlags( Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint );@

    Does anyone know the solution to these problems? Any suggestion is helpful!

Log in to reply