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
QtWS25 Last Chance

Qt 5.6 iOS geometry size ASSERT fail

Scheduled Pinned Locked Moved Mobile and Embedded
iosqmlgeometry
4 Posts 3 Posters 1.6k 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.
  • D Offline
    D Offline
    douyw
    wrote on 11 Apr 2016, 04:03 last edited by douyw 4 Nov 2016, 04:06
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Apr 2016, 21:31 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
      • Z Offline
        Z Offline
        zhaoyk10
        wrote on 18 Apr 2016, 09:03 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 18 Apr 2016, 20:56 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

          1/4

          11 Apr 2016, 04:03

          • Login

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