Results 1 to 5 of 5

Thread: Strange failure (dialog exec close qt 5.1)

  1. #1
    Join Date
    Mar 2011
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Strange failure (dialog exec close qt 5.1)

    the simple attached program works properly on x86 desktop and works bad in arm embedded system.
    The program has a button in the main window if i press the button the dialog exec function is called.
    On the dialog I can press an button to close it.
    On x86 platform run correctly, on arm when I close the dialog it does' t disappear and can't capture the input.
    why this difference?
    I use
    gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20)
    and I start the program with this script
    export QT_QPA_EGLFS_HIDECURSOR=1
    export QT_QPA_EGLFS_PHYSICAL_WIDTH=150
    export QT_QPA_EGLFS_PHYSICAL_HEIGHT=95
    export LD_LIBRARY_PATH=$LIBRARY_PATH:/opt/Qt5-imx6-1/lib
    ./focus -platform eglfs
    Thank you
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Strange failure (dialog exec close qt 5.1)

    Just to be sure: when you say it works on x86 desktop, do you mean it works with the EGLFS plugin on that machine?

    Cheers,
    _

  3. #3
    Join Date
    Mar 2011
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Strange failure (dialog exec close qt 5.1)

    thank you for answer,
    you're right, I don't run program, on x86 desktop, with eglfs plugin!
    I tryed to run the program, on arm system, with '-platform linuxfb' option and it run correctly!!!
    I don't understand why and I have no idea how to fix it.
    Maybe it is a touchpad problem, I use a ILI210x Touchscreen
    and the evdevtouch plugin (evdevtouch: Using device /dev/input/event0)
    Thank you for your tip,
    any idea is appreciated.... and sorry for my bad english..

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Strange failure (dialog exec close qt 5.1)

    It sounds like a bug in the EGLFS platform plugin.

    If you are able to build Qt on your desktop, try building the EGLFS platform plugin as well and check if you observe the same behavior.
    If it works on desktop it might be related to the system on the arm, if it also doesn't work it is almost certainly a problem of the QPA plugin.

    Cheers,
    _

  5. #5
    Join Date
    Mar 2011
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Strange failure (dialog exec close qt 5.1)

    I will try to build eglfs plugin on x86 platform.
    Bye

Similar Threads

  1. How to close a Dialog from another class?
    By TCaruso33 in forum Newbie
    Replies: 1
    Last Post: 17th September 2012, 21:18
  2. Replies: 1
    Last Post: 18th July 2011, 13:12
  3. Replies: 2
    Last Post: 6th May 2011, 09:02
  4. Block close dialog
    By Mrdata in forum Newbie
    Replies: 2
    Last Post: 12th March 2007, 16:39
  5. QDialog::exec() cereates no modal dialog
    By sboesch in forum Qt Programming
    Replies: 8
    Last Post: 27th March 2006, 18:03

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.