Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debug assertion in stl algorithms when using vertical stlyesheets
Qt 6.11 is out! See what's new in the release blog

Debug assertion in stl algorithms when using vertical stlyesheets

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kingofthehill3
    wrote on last edited by
    #1

    I'm using Qt 5.2 with VS 2008 and I get an "Expression: sequence not ordered" assertion in "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm" line 2262 when executing the following code:

    @
    QScrollBar* pDummy = new QScrollBar(this);
    pDummy->setStyleSheet("QScrollBar:vertical{}");
    @

    The following code works without throwing an exception:

    @
    QScrollBar* pDummy = new QScrollBar(this);
    pDummy->setStyleSheet("QScrollBar:horizontal{}");
    @

    Can anyone reproduce this problem?

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      i doubt that this posted code of yours causes the assertion.
      And i also couldn't reproduce it btw.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qyrychen
        wrote on last edited by
        #3

        I have the same problem (Qt 5.2.1 and VS 2008). I get an “Expression: sequence not ordered” assertion in “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm” line 2262 when add the following style to QCheckBox

        @QCheckBox::indicator:unchecked {
        image: url(:/images/checkbox_unchecked.png);
        }@

        P.S.
        @QCheckBox::indicator:checked {
        image: url(:/images/checkbox_unchecked.png);
        }@
        works good

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          Qyrychen
          wrote on last edited by
          #4

          I have the same problem (Qt 5.2.1 and VS 2008). I get an “Expression: sequence not ordered” assertion in “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm” line 2262 when add the following style to QCheckBox

          @QCheckBox::indicator:unchecked {
          image: url(:/images/checkbox_unchecked.png);
          }@

          P.S.
          @QCheckBox::indicator:checked {
          image: url(:/images/checkbox_unchecked.png);
          }@
          works good

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved