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. QML Material and universal module not found in Qt Creator 4.4 for IOS Platform
QtWS25 Last Chance

QML Material and universal module not found in Qt Creator 4.4 for IOS Platform

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 2 Posters 2.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.
  • A Offline
    A Offline
    Advanced
    wrote on last edited by
    #1

    Dear Guys
    In Qt Creator 4.3 and 4.4. I've encountered with this error QML Material and universal module not found in Mac for IOS platform, How can i fix this?
    Should i use QML_Import_Path? Or another solution should be used?
    Regard's

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      The styles are cross-platform, should be available on all systems. Which version of Qt (not Qt Creator the IDE) are you using? The material and universal styles are part of QtQuick.Controls 2 module, introduced in Qt 5.7.

      Are you importing QtQuick.Controls 2.x in your QML files? Have you followed Controls 2 styling docs? Have you tried running your code on other platform (mac desktop, android, windows or linux), does it work there?

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Advanced
        wrote on last edited by
        #3

        Qt Version: 5.9.1
        Yes, It's imported,
        It's worked in Windows and Mac but unfortunately in IOS , I've encountered following Error.

        Material and universal module not found in Qt Creator 4.4 and 4.4 for IOS Platform

        Thanks

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, I see. Does it work when you run it on iOS device? Maybe it's just Qt Creator failing to see the files.

          (Z(:^

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Advanced
            wrote on last edited by
            #5

            No, it's not worked.
            it's better to know when you create a new project Controls like button get material theme but header and other elements not worked, by the way, gallery sample project can't switch between different theme, and just show Default theme option and also all controls have a default theme not material.

            sierdzioS 1 Reply Last reply
            0
            • A Advanced

              No, it's not worked.
              it's better to know when you create a new project Controls like button get material theme but header and other elements not worked, by the way, gallery sample project can't switch between different theme, and just show Default theme option and also all controls have a default theme not material.

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @Advanced said in QML Material and universal module not found in Qt Creator 4.4 for IOS Platform:

              it's better to know when you create a new project Controls like button get material theme but header and other elements not worked, by the way, gallery sample project can't switch between different theme, and just show Default theme option and also all controls have a default theme not material.

              I can't find any info in changelogs or blogs that Controls 2 are not fully available on iOS. So it sounds like a bug to me, please consider reporting it on https://bugreports.qt.io

              (Z(:^

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Advanced
                wrote on last edited by
                #7

                Yea, I've reported. if you wish you can trace it with following link
                https://bugreports.qt.io/projects/QTCREATORBUG/issues/QTCREATORBUG-18909

                By the way, you can use QML_IMPORT_PATH and add Material Path with code in your project file.

                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