Results 1 to 3 of 3

Thread: why QAbstractitemmodel error on Qt4.1.1?

  1. #1
    Join Date
    Jan 2006
    Location
    ha noi - viet nam
    Posts
    24
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default why QAbstractitemmodel error on Qt4.1.1?

    My App using Qt4.0.0. This run don't error but I build with Qt4.1.1 or Qt4.1.2 then my App have an error.

    "
    ...
    ASSERT: "last >= first" in file kernel\qabstractitemmodel.cpp, line 1792
    "
    I want insert image on here but i don't understand that.
    Last edited by manhds; 3rd April 2006 at 11:06.
    //---------------------------------------

    Full name: Đậu Sỹ Mạnh
    Email: manhds@fsoft.com.vn
    Nationality: Vietname
    Languge: Vietnamese, Janpanese.

    //---------------------------------------

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: why QAbstractitemmodel error on Qt4.1.1?

    Show the code.

  3. #3
    Join Date
    Apr 2006
    Location
    Minsk, Belarus
    Posts
    23
    Thanks
    3
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: why QAbstractitemmodel error on Qt4.1.1?

    I'm experiencing the same assertion message while trying to display the contents of folder using QDirModel/QTreeView. That message wasn't there with QT4.0.0.

    Seems to me that there is some bug in QT, but I was unable to create some code snippet which would provide a stable scenario of reproducing this problem. If you can come up with some code snippet that showcases this problem, I will be very grateful.

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.