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. After lunch app on iOS I see black screen.
Forum Updated to NodeBB v4.3 + New Features

After lunch app on iOS I see black screen.

Scheduled Pinned Locked Moved Solved QML and Qt Quick
8 Posts 2 Posters 2.5k 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.
  • shavS Offline
    shavS Offline
    shav
    wrote on last edited by shav
    #1

    Hi everyone!

    I'm using last Qt 5.8 RC1 on iOS platform. When I create new project in QtCreator and try to build it to real device or simulator I see black screen. In console I see this:

    Starting remote process.
    

    Screenshot from simulator.

    UPDATE: This bug happened only if I use QtCreator with iOS 10.x. But all works fine on iOS 9.x. Also this bug doesn't reproduce in Xcode. If I build my app for Xcode my project work fine on iOS 9.x and iOS 10.x.

    Mac OS and iOS Developer

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

      Hi,

      Which version of Qt Creator are you using ?

      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
      • shavS Offline
        shavS Offline
        shav
        wrote on last edited by
        #3

        Thanks for the reply! I.m using QtCreator 4.2 from the official install package of Qt 5.8 RC1 which I download from official site.

        Mac OS and iOS Developer

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

          Can you retry with the official 5.8 release ?

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

            Hi,

            I've been tested last release Qt 5,8 on iOS 10.2 Simulator and device. Now this but doesn't reproduce. But now I can't understand why my application can't find my QML plugin. I've check the path (Qt_install_dir)/ios/qml and see my plugin here. But when I try to load my app on device or simulator I've get message:

            QQmlApplicationEngine failed to load component
            qrc:/main.qml:5 module "com.shav.uicomponents" plugin "ShavUIComponents" not found
            

            But this happens only for iOS (on Android don't tested yet), on Mac OS all works fine.

            Mac OS and iOS Developer

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

              If you have plugins then set the QT_DEBUG_PLUGINS environment variable to 1 and check what the output says.

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

                Hi,

                I'm trying this variable but can't see any results in debug console. I added it to Build Environment settings inside QtCreator for project. Is this correct? Or I need to add it another way?

                Anyway I created a new topic with this problem.

                Mac OS and iOS Developer

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

                  I usually, put it in the Run part of the Project panel.

                  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