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. Use new Qt 5.11 QML compiler with Visual Studio
Forum Updated to NodeBB v4.3 + New Features

Use new Qt 5.11 QML compiler with Visual Studio

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 5 Posters 1.3k Views 4 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.
  • deleted57D Offline
    deleted57D Offline
    deleted57
    wrote on last edited by
    #1

    Hi all

    As in topic is possibile to "enable" the new QML compiler just introduced with Qt 5.11 open source version using Visual Studio as development IDE?

    I found this guide:

    http://doc.qt.io/QtQuickCompiler/

    but how to set the "qtquickcompiler" option with Visual Studio? (if possible)
    Thank you

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

      There is no need to turn it on. The QML compiler is enabled by default. See https://doc.qt.io/qt-5/qtquick-deployment.html#qml-caching

      (Z(:^

      1 Reply Last reply
      0
      • deleted57D Offline
        deleted57D Offline
        deleted57
        wrote on last edited by
        #3

        This is the caching done at first execution into the target machine. I'm referring to the topic just below your:

        https://doc.qt.io/qt-5/qtquick-deployment.html#compiling-qml-ahead-of-time

        Before this feature was part only of the commercial version but from 5.11 is available also for open source.

        1 Reply Last reply
        0
        • deleted57D deleted57

          Hi all

          As in topic is possibile to "enable" the new QML compiler just introduced with Qt 5.11 open source version using Visual Studio as development IDE?

          I found this guide:

          http://doc.qt.io/QtQuickCompiler/

          but how to set the "qtquickcompiler" option with Visual Studio? (if possible)
          Thank you

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @Suppaman said in Use new Qt 5.11 QML compiler with Visual Studio:

          I found this guide:
          http://doc.qt.io/QtQuickCompiler/
          but how to set the "qtquickcompiler" option with Visual Studio? (if possible)

          • Have you followed the steps described there?
          • Have you CONFIG += qtquickcompiler to your .pro file? If so, did you get any error message?
          • Is qtquickcompiler available in your PATH?

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • IzowiuzI Offline
            IzowiuzI Offline
            Izowiuz
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • deleted57D Offline
              deleted57D Offline
              deleted57
              wrote on last edited by
              #6

              These steps are for Qt Creator (inside the .pro file). I already tested and it work but my question was how do the same using Visual Studio?

              raven-worxR 1 Reply Last reply
              0
              • deleted57D deleted57

                These steps are for Qt Creator (inside the .pro file). I already tested and it work but my question was how do the same using Visual Studio?

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #7

                @Suppaman
                i guess you have to wait until the Qt VS plugin has added support for add the corresponding custom build steps

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                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