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.3.2 / QML on iOS 8, cannot get UIView from QQuickWindow anymore [solved]
Forum Updated to NodeBB v4.3 + New Features

Qt 5.3.2 / QML on iOS 8, cannot get UIView from QQuickWindow anymore [solved]

Scheduled Pinned Locked Moved Mobile and Embedded
13 Posts 3 Posters 4.4k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Exactly that one yes :)

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

      Wiiiiiiiiiizzzzzzz (me, rocketing to join that list, mail you later :-) )

      Nils

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nils_heidorn
        wrote on last edited by
        #6

        Its solved !
        The idiotic thing is: Xcode 6 Debugger showed uiview to be nil and so i thought the crash resulted from that, but in reality view WAS valid and the crash had another trivial reason...

        There is no better debugging than fprintf... GRRR

        :-)

        Nils

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

          Nice you found out !

          qDebug ? :D

          Since it's working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          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
          • K Offline
            K Offline
            k.gaitanis
            wrote on last edited by
            #8

            Hi all,

            I'm trying to do the same thing but my compiler complains about incomplete type for QPlatformNativeInterface.

            What do I need to do to use the code posted by nils?

            Qt 5.3, iOS8

            PS: SGaist you are the true master of Qt and iOS! Cheers for the great work, your answers have been guiding me a lot this year without you knowing it. :)

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nils_heidorn
              wrote on last edited by
              #9

              Hi !

              Did you use the include:
              #include <QtGui/qpa/qplatformnativeinterface.h>

              Greetings,

              Nils

              1 Reply Last reply
              0
              • K Offline
                K Offline
                k.gaitanis
                wrote on last edited by
                #10

                Hi!

                Thanks for the fast reply.

                file doesn't exist...

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  k.gaitanis
                  wrote on last edited by
                  #11

                  Ask too fast and find yourself answering yourself...

                  for posterity :

                  QT += gui-private

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nils_heidorn
                    wrote on last edited by
                    #12

                    hmm, cannot help i used standard downloads 5.3.2 and 5.40 BETA, both offered that file. Try and search for that file on your HDD, i cannot help further i guess.

                    Greetings,

                    Nils

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      nils_heidorn
                      wrote on last edited by
                      #13

                      ahh okay :-) Have Fun !

                      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