Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.6 iOS geometry size ASSERT fail
Forum Updated to NodeBB v4.3 + New Features

Qt 5.6 iOS geometry size ASSERT fail

Scheduled Pinned Locked Moved Mobile and Embedded
iosqmlgeometry
4 Posts 3 Posters 1.6k 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.
  • douywD Offline
    douywD Offline
    douyw
    wrote on last edited by douyw
    #1

    Hi,
    I'm encountering this weird problem on an iPhone 6s (ios 9.2) with Qt 5.6:

    ASSERT: "m_qioswindow->geometry().size() == bounds" in file quiview.mm, line 183
    

    My app simply cannot get started. The same app can be up and running on an iPad Mini(ios 8.2) without any problem. I wonder maybe the ios version matters, but I generated a new test app using QtCreator, it can run successfully on the iPhone.

    I even downloaded the Qt 5.6 source code to see what happens in there, but can't get a clue. It's just an assert clause, left or right expression, which one goes mad? Still no idea.

    If anyone has any idea about this, please reply. Thanks.

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

      Hi and welcome to devnet,

      What kind of application is ? QML ? Widgets ?

      One way (not the easiest) is to disable everything from your application and re-add every piece one by one until your application breaks again.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • zhaoyk10Z Offline
        zhaoyk10Z Offline
        zhaoyk10
        wrote on last edited by
        #3

        I got the same error because i changed the window's geometry

        window->setGeometry(window->screen()->geometry())
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          Are you trying to modify the geometry of your main widget on iOS ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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