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. Unable to understand the erorr
Forum Updated to NodeBB v4.3 + New Features

Unable to understand the erorr

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 457 Views 2 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by
    #1

    IDEQApplication::notify vector::_M_range_check: __n (which is 7) >= this->size() (which is 4)

    jsulmJ 1 Reply Last reply
    0
    • Q Qt Enthusiast

      IDEQApplication::notify vector::_M_range_check: __n (which is 7) >= this->size() (which is 4)

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Qt-Enthusiast Well, something is not in range. But without more information it is not possible to say what exactly is the problem. You even did not say where and when you get this message...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      5
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        You most likely have something like

        class IDEQApplication: public QApplication
        {
        public:
            MyApplication(int &argc, char ** argv);  
        private:
            bool notify(QObject *receiver_, QEvent *event_);
        };
        

        so check what is happening in notify. See if it uses a QVector.

        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