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. Exporting QML from Sketch
Forum Updated to NodeBB v4.3 + New Features

Exporting QML from Sketch

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 4 Posters 1.2k 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.
  • B Offline
    B Offline
    burShigi
    wrote on 14 May 2019, 20:53 last edited by
    #1

    Re: Exporting QML from SketchApp

    I found this old topic and was excited to find it existed. I'm happy someone has made a plugin to create QML out of Sketch files.

    However, I can't get it to work as expected. I installed the SketchQML plugin from GitHub as instructed, it appears to install fine, but when I use "Export QML" or Export UI Form", it gives me this error:

    • Exception Error. TypeError: style._object.fill is not a function. (In 'style._object.fill()', 'style._object.fill' is undefined)

    0_1557867149195_error-from-SketchQML-plugin-2019-05-14-my-file.png

    So I downloaded the demo example file "Ubuntu Touch GUI Sketch" from SketchAppSources, and I get a very similar error (the only difference is the missing "_object.":

    • Exception Error. TypeError: style._object.fill is not a function. (In 'style._object.fill()', 'style._object.fill' is undefined)

    0_1557867192831_error-from-SketchQML-plugin-2019-05-14-your-demo-file.png

    I'd really like to be able to convert my Sketch file to QML, but I'm worried the plugin is old and not compatible with the current version of Sketch.

    Please advise.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 May 2019, 21:15 last edited by
      #2

      Hi and welcome to devnet,

      @benlau might be able to help.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply 17 May 2019, 20:26
      0
      • S SGaist
        14 May 2019, 21:15

        Hi and welcome to devnet,

        @benlau might be able to help.

        B Offline
        B Offline
        burShigi
        wrote on 17 May 2019, 20:26 last edited by
        #3

        @SGaist Hi and thanks for recommending @benlau

        1 Reply Last reply
        0
        • B Offline
          B Offline
          benlau
          Qt Champions 2016
          wrote on 19 May 2019, 18:27 last edited by
          #4

          Hello, the plugin is no longer working with the new version of Sketch. Unfortunately, I don't have time and a license of new Sketch to fix the issue...

          1 Reply Last reply
          3
          • B Offline
            B Offline
            BrookCronin
            wrote on 21 May 2019, 07:33 last edited by
            #5

            There is now an official Sketch Bridge plugin as part of the Commercial Version of Qt Design Studio - https://blog.qt.io/blog/2019/05/17/qt-design-studio-1-2-beta-released/

            1 Reply Last reply
            1

            5/5

            21 May 2019, 07:33

            • Login

            • Login or register to search.
            5 out of 5
            • First post
              5/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved