Important: Please read the Qt Code of Conduct -

Qt 5.6 iOS geometry size ASSERT fail

  • 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, 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.

  • Lifetime Qt Champion

    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.

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


  • Lifetime Qt Champion

    Hi and welcome to devnet,

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

Log in to reply