Results 1 to 2 of 2

Thread: For Qt on embeded linux, which key is the "platform edit key"?

  1. #1
    Join Date
    Jun 2014
    Posts
    2
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default For Qt on embeded linux, which key is the "platform edit key"?

    Hi,
    I am developing QT programme on beagle-bone black ( QT4.8.4 + QtCreator2.7.1 + Linaro GCC 2013.03) and met a trouble as follow:

    I use a TableView and set its EditTrigger as "QAbstractItemView::EditKeyPressed", but when i run the programe on the beagle-bone black with an usb-keyboard
    it is strange that the TableView's item don't change to editable status when i press "F2" ( as saying on internet, most platform's Edit key is "F2" );
    and while i build the same source in windows(Qt 4.8.0 + QtCreator2.7.1 + minGw 4.4.0), it works perfect.

    it seems that QT'cross-platform performance is not so good on this issue.
    I doubt that it is because that for the linux the platform key is not "F2"? if it true , what is the platform edit key for linux?

    the attachment is my test source , I reimplement the delegate class and the tableview class to add some debug info,
    and found that pressing "f2" can trigger the editorEvent in the delegate in windows but have no reponse on the beagle-bone black

    I am working on this problem for several days, but still have no progress. Any suggestion or solutions is thankful!
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2014
    Posts
    2
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: For Qt on embeded linux, which key is the "platform edit key"?

    i figure this problem recently.
    it turns out that the reason why the "F2“ cannot change the tableview's item to editable is that the Qt's library included in SDK provided by TI have some problem.
    i download Qt4.8.6 src and recompile the library, the programe work properly.
    little disappoint at Ti‘s developers.

Similar Threads

  1. Failed to load platform plugin "windows"
    By Eos Pengwern in forum Installation and Deployment
    Replies: 1
    Last Post: 19th September 2013, 17:57
  2. Replies: 1
    Last Post: 7th January 2013, 00:29
  3. Replies: 3
    Last Post: 26th August 2010, 09:57
  4. Replies: 3
    Last Post: 29th August 2009, 23:24
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 20:05

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.