Results 1 to 7 of 7

Thread: Copying from QPlainTextEdit Results in SIGSEGV

  1. #1
    Join Date
    Jun 2012
    Posts
    19
    Thanks
    3

    Default Copying from QPlainTextEdit Results in SIGSEGV

    just the widget on a form. pasting into it is ok, copying results in the error below, and clears the clipboard. Qt 5.1.1. anyone have any ideas what the problem is?


  2. #2
    Join Date
    Nov 2011
    Posts
    79
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5
    Thanked 5 Times in 5 Posts

    Default Re: Copying from QPlainTextEdit Results in SIGSEGV

    Show you code, when you get the text

  3. #3
    Join Date
    Jun 2012
    Posts
    19
    Thanks
    3

    Default Re: Copying from QPlainTextEdit Results in SIGSEGV

    Quote Originally Posted by folibis View Post
    Show you code, when you get the text
    There's no code of mine running when this happens; it's on ctrl-c to copy the selected text.

  4. #4
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11
    Thanks
    15
    Thanked 16 Times in 15 Posts

    Default Re: Copying from QPlainTextEdit Results in SIGSEGV

    Quote Originally Posted by splinterz View Post
    There's no code of mine running when this happens; it's on ctrl-c to copy the selected text.
    I don't think your problem has anything to do with Qt. Try to build a new project and see the behavior of QPlainTextEdit.
    You may also run the project in debug mode to give us more information.

  5. #5
    Join Date
    Jun 2012
    Posts
    19
    Thanks
    3

    Default Re: Copying from QPlainTextEdit Results in SIGSEGV

    That image is from debug mode...

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

    Default Re: Copying from QPlainTextEdit Results in SIGSEGV

    Maybe some library mismatch, e.g. the ICU library used by the program not being the one Qt was compiled against.

    Cheers,
    _

  7. #7
    Join Date
    Jun 2012
    Posts
    19
    Thanks
    3

    Default Re: Copying from QPlainTextEdit Results in SIGSEGV

    Quote Originally Posted by anda_skoa View Post
    Maybe some library mismatch, e.g. the ICU library used by the program not being the one Qt was compiled against.

    Cheers,
    _
    that sounds promising, how do i check for such a mismatch?

    i tried creating a new project as recommended, and the textedit works as expected, so i guess there's something wrong/broken with the other project.

Similar Threads

  1. Qt collections crash with SIGSEGV
    By asmfreak in forum Qt Programming
    Replies: 7
    Last Post: 4th May 2013, 21:42
  2. Clearing GraphisScene causes SIGSEGV
    By Lord_Navro in forum Newbie
    Replies: 6
    Last Post: 24th November 2012, 20:33
  3. Sigsegv
    By babygal in forum Newbie
    Replies: 3
    Last Post: 2nd November 2010, 05:29
  4. QTextEdit SIGSEGV
    By Flayer in forum Qt Programming
    Replies: 4
    Last Post: 14th January 2010, 22:52
  5. sigsegv ?
    By mero in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2009, 18:01

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.