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 Error
Forum Updated to NodeBB v4.3 + New Features

Debug Error

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 638 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.
  • V Offline
    V Offline
    voegelmichael
    wrote on last edited by
    #1

    0_1528294534776_Unbenannt.png

    Hello everyone,

    I am trying to debug my qml file without success.

    I am using msvc2017

    0_1528294667516_s.png

    Have someone a suggestion?

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

      Hi
      What is inside your QML file ?
      Seems its mad about some model item being inserted

      void QAbstractItemModel::beginInsertColumns(const QModelIndex &parent, int first, int last)
      {
          Q_ASSERT(first >= 0);
          Q_ASSERT(first <= columnCount(parent)); // == is allowed, to insert at the end <<<<<<
          Q_ASSERT(last >= first);
      
      1 Reply Last reply
      0
      • V Offline
        V Offline
        voegelmichael
        wrote on last edited by
        #3

        @mrjj said in Debug Error:

        QAbstractItemModel

        Hi,
        inside my QML?
        --> I was not the developper, I have to add some updates, the project is here: https://github.com/VoegelMichael/bronControl

        I tried to understand beginInsertColumns but until I didn't catch it.

        mrjjM 1 Reply Last reply
        0
        • V voegelmichael

          @mrjj said in Debug Error:

          QAbstractItemModel

          Hi,
          inside my QML?
          --> I was not the developper, I have to add some updates, the project is here: https://github.com/VoegelMichael/bronControl

          I tried to understand beginInsertColumns but until I didn't catch it.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @voegelmichael

          Hi
          I think it crashes.
          So i wondered what you used in the QML file but it seems
          its much bigger than expected :)
          Did you try with debugger and single step to see if you can spot a line ?

          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