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. qmake Maximum statement or expression depth exceeded
Forum Updated to NodeBB v4.3 + New Features

qmake Maximum statement or expression depth exceeded

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 288 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.
  • S Offline
    S Offline
    sebastienc
    wrote on last edited by sebastienc
    #1

    Hi,

    I'm facing a rcc build error.

    Everything works fine when I build my QML application (5.13.2) on my workstation, but when I build this application in a docker container (in a pipeline to run unit tests), I get this error:

    Error compiling js file: libs/GIHM-LIB/assets/i18n/i18n_spn.js:0: error: Maximum statement or expression depth exceeded
    

    The file that causes the problem is a large file, about 500000 lines, 800kb.

    I guess that is the docker container which causes the problem due to (maybe ?) a lack of memory or something else.

    Where do you think the problem comes from?

    thank you

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sebastienc
      wrote on last edited by
      #2

      The problem disappear when I build my app with the version 5.15.1 in a docker container.

      I would still like build in 5.13 ...

      1 Reply Last reply
      0
      • kkoehneK Offline
        kkoehneK Offline
        kkoehne
        Moderators
        wrote on last edited by
        #3

        A quick fix for you might be to disable the Qt Quick Compiler / qmlcachegen. That is , if your application is based on qmake, do not pass or set the "qtquickcompiler" CONFIG option.

        Director R&D, The Qt Company

        1 Reply Last reply
        1

        • Login

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