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. Qml app does not work on iOS
Forum Updated to NodeBB v4.3 + New Features

Qml app does not work on iOS

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 3 Posters 368 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.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #1

    Hi!
    Qml app does not work on iOS.
    I create an empty QML app and add this line, after that the app doesn't run on iOS. Why and how to fix it?

    import QtQuick.Controls.Styles 1.4
    
    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • M Mikeeeeee

      Hi!
      Qml app does not work on iOS.
      I create an empty QML app and add this line, after that the app doesn't run on iOS. Why and how to fix it?

      import QtQuick.Controls.Styles 1.4
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Mikeeeeee said in Qml app does not work on iOS:

      1.4

      Why 1.4?
      Shouldn't it be 2 as stated here https://doc.qt.io/qt-5/qtquickcontrols-index.html ?
      https://doc.qt.io/qt-5/qtquickcontrols-index.html#versions

      "Why and how to fix it?" - first thing to check would actually be to check for errors when starting the app...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Mikeeeeee

        Hi!
        Qml app does not work on iOS.
        I create an empty QML app and add this line, after that the app doesn't run on iOS. Why and how to fix it?

        import QtQuick.Controls.Styles 1.4
        
        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @Mikeeeeee what Qt version are you using ? there's one 5.12 release that, accidentally, had no support for quickcontrolls 1


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        1
        • M Offline
          M Offline
          Mikeeeeee
          wrote on last edited by
          #4

          Removed this line and everything worked

          import QtQuick.Controls.Styles 1.4
          
          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