Results 1 to 8 of 8

Thread: QItemSelectionModel::setCurrentIndex doesn't work

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: QItemSelectionModel::setCurrentIndex doesn't work

    The "bt" gdb command:
    Qt Code:
    1. $ gdb ./mydebugexe
    2. (gdb) run
    3. ...
    4. Program received signal SIGSEGV, Segmentation fault.
    5. 0x00007ffff7ac5ba7 in ?? () from /lib64/libc.so.6
    6. (gdb) bt
    7. #0 0x00007ffff7ac5ba7 in ?? () from /lib64/libc.so.6
    8. #1 0x0000000000400597 in test () at main.cpp:6
    9. #2 0x00000000004005ad in main (argc=1, argv=0x7fffffffdae8) at main.cpp:10
    To copy to clipboard, switch view to plain text mode 

    If you are using gdb inside Qt Creator then you get a backtrace automatically.

  2. The following user says thank you to ChrisW67 for this useful post:

    evgeniy (20th February 2014)

Similar Threads

  1. QComboBox setCurrentIndex doesn't work
    By trallallero in forum Qt Programming
    Replies: 4
    Last Post: 8th November 2011, 08:37
  2. autoScale doesn't work
    By Braunstein in forum Qwt
    Replies: 4
    Last Post: 12th November 2010, 18:22
  3. Example in Qt labs doesn't work
    By matko in forum Newbie
    Replies: 1
    Last Post: 19th November 2009, 18:59
  4. setCurrentIndex() doesn't display cursor(bounding rect)
    By DIMEDROLL in forum Qt Programming
    Replies: 0
    Last Post: 5th November 2008, 06:24
  5. setWindowModality doesn't work
    By dude in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2008, 14:11

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
  •  
Qt is a trademark of The Qt Company.