Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Deploying 3rdparty Qt Quick plugins on macOS
Forum Updated to NodeBB v4.3 + New Features

Deploying 3rdparty Qt Quick plugins on macOS

Scheduled Pinned Locked Moved Solved 3rd Party Software
13 Posts 3 Posters 3.4k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi,

    There's the -qmldir option of macdeployqt that you can use but AFAIK, it only takes one path currently.

    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
    • I Offline
      I Offline
      Ilya Bizyaev
      wrote on last edited by
      #5

      Thanks for the reply :)

      According to the macdeployqt manual:
      -qmldir=<path> : Scan for QML imports in the given path.

      This argument is used to specify the application's qml source directory to be scanned for import * statements. It can accept multiple paths, but these are not used as library search paths.

      To specify a library search path, macdeployqt would need to pass it as an -importPath argument to qmlimportscanner, but it only passes Qt's default library location: http://code.qt.io/cgit/qt/qttools.git/tree/src/macdeployqt/shared/shared.cpp#n1236

      As a hack one can create a link to the custom location from inside the Qt installation, and that's what I use for now, but I think there has to be a better way.

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

        A feature to add to macdeployqt: an option to give additional import paths.

        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
        • I Offline
          I Offline
          Ilya Bizyaev
          wrote on last edited by
          #7

          Should I open a feature request?

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

            If you don't find any yet, yes. If you can provide a minimal buildable sample application that shows that behaviour it would be great.

            Out of curiosity, how did you got Kirigami for macOS ?

            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
            • I Offline
              I Offline
              Ilya Bizyaev
              wrote on last edited by
              #9

              @SGaist I reported the issue as https://bugreports.qt.io/browse/QTBUG-70977 and opened a revision at https://codereview.qt-project.org/#/c/242083/

              1 Reply Last reply
              0
              • I Offline
                I Offline
                Ilya Bizyaev
                wrote on last edited by
                #10

                Kirigami works just right on macOS, here are some screenshots:

                0_1538845873930_photo_2018-10-06_20-10-18.jpg
                1_1538845873930_photo_2018-10-06_20-10-20.jpg

                The app is on its early stages, though.

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

                  Thanks for the submission !

                  One small fix to the commit message to do :)

                  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
                  • I Offline
                    I Offline
                    Ilya Bizyaev
                    wrote on last edited by
                    #12

                    Starting from Qt 5.13, there will be a -qmlimport macdeployqt option to specify additional QML module search directories.

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

                      If needed earlier, macdeployqt can be manually built from the dev branch.

                      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