Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Maximum call stack size exceeded show

Maximum call stack size exceeded show

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 1.1k Views
  • 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.
  • H Offline
    H Offline
    Haipeng.yu
    wrote on last edited by Haipeng.yu
    #1

    Re: Maximum call stack size exceeded.

    In case someone met the same error, here is the cause root:
    qrc:/qml/NewConnectionHost.qml:15:: Line 15 has a statement that calls itself inside a function, that is, the recursive call of the function, but there is no condition for the end of the recursion in the function body, so it will loop indefinitely.

    J 1 Reply Last reply
    0
    • H Haipeng.yu

      Re: Maximum call stack size exceeded.

      In case someone met the same error, here is the cause root:
      qrc:/qml/NewConnectionHost.qml:15:: Line 15 has a statement that calls itself inside a function, that is, the recursive call of the function, but there is no condition for the end of the recursion in the function body, so it will loop indefinitely.

      J Offline
      J Offline
      jhyvictory
      wrote on last edited by
      #2

      @Haipeng-yu I've tried two examples of the qt demos, calqlatr and coffee machine. When I built them to webassembly, neither of them could run correctly and both of them met the problem "RangeError: Maximum call stack size exceeded". Is there anything wrong with qt official examples?

      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