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. iOS Checkbox crash
Forum Updated to NodeBB v4.3 + New Features

iOS Checkbox crash

Scheduled Pinned Locked Moved Solved QML and Qt Quick
8 Posts 2 Posters 672 Views 1 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.
  • P Offline
    P Offline
    PeterPetrik
    wrote on last edited by
    #1

    Hi,

    I try to port https://github.com/lutraconsulting/input to iOS and I encountered a crash (directly when app is opened) when CheckBox is used

    CheckBox {
        text: "aaaa"
    } 
    

    0_1566561236885_Screenshot 2019-08-23 at 13.51.38.png

    The exact same stacktrace is seen when Controls1 Dialog is used.

    build system: Qt 5.11.3 (due to Qt bug), build on Mojave, target device iPad with iOS 12.4

    Thanks.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PeterPetrik
      wrote on last edited by
      #2

      detto for ComboBox {}

      1 Reply Last reply
      0
      • P Offline
        P Offline
        PeterPetrik
        wrote on last edited by
        #3

        I can replicate the same issue with preview of 5.13.1 build.

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

          Hi,

          Are you using their own components and it is crashing ?

          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
          • P Offline
            P Offline
            PeterPetrik
            wrote on last edited by
            #5

            Hi @SGaist,
            I am developer of the application and I try to find out the reason of those crashes.

            I can replicate the crash ending in iod_read_fn() even when I wipe whole main.qml file and use the simple, default ComboBox (from Controls2) or CheckBox.

            It looks like it happens with Qt QML components that contains some kind of icon/graphics and I suspect that either I miss something in the .pro file or there is some missing resources in the Qt's ios static build?

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

              Does it happen also if you use a default project ?

              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
              • P Offline
                P Offline
                PeterPetrik
                wrote on last edited by
                #7

                I have found the issue. One of the linked libraries GDAL has internal copy of libpng. The symbols from this library were used instead of Qt's libqtlibpng which caused coredumps in Qt.

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

                  Glad you found out and thanks for sharing !

                  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
                  1

                  • Login

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