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. Qt 5.8.0 beta JIT on Win 10 IoT Core
Forum Update on Monday, May 27th 2025

Qt 5.8.0 beta JIT on Win 10 IoT Core

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 1.7k 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.
  • beeckscheB Offline
    beeckscheB Offline
    beecksche
    wrote on last edited by beecksche
    #1

    Hi,
    i tested the new Qt 5.8.0 beta for WinRT MSVC 2015 on my raspi with Win 10 IoT Core.

    I've tried the QtQuickControls2 gallery example. I can compile and start the example but, the controls are very slow.
    When i start the app on the raspi i got this message:

    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    

    So i went to https://wiki.qt.io/V4 and read the article.

    In the qv4global_p.h file, i see that the thumb definitions are not defined and so neither V4_ENABLE_JIT.

    Code snipped:

    ...
    #elif defined(Q_PROCESSOR_ARM_32) // <-- definied
    #  if defined(thumb2) || defined(__thumb2__) || ((defined(__thumb) || defined(__thumb__)) && __TARGET_ARCH_THUMB-0 == 4) // <-- nothing defined
    #    define V4_ENABLE_JIT
    #  elif defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH_ISA_THUMB == 2 // clang 3.5 and later will set this if the core supports the Thumb-2 ISA.
    #    define V4_ENABLE_JIT
    #  endif
    ...
    

    I'm not quite sure if this is the mistake. I've tried to enable thumb (https://msdn.microsoft.com/en-us/library/gg155717(v=winembedded.70).aspx) in the solution properties, but i don't where and how.

    Thanks.

    raven-worxR 1 Reply Last reply
    0
    • beeckscheB beecksche

      Hi,
      i tested the new Qt 5.8.0 beta for WinRT MSVC 2015 on my raspi with Win 10 IoT Core.

      I've tried the QtQuickControls2 gallery example. I can compile and start the example but, the controls are very slow.
      When i start the app on the raspi i got this message:

      JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
      

      So i went to https://wiki.qt.io/V4 and read the article.

      In the qv4global_p.h file, i see that the thumb definitions are not defined and so neither V4_ENABLE_JIT.

      Code snipped:

      ...
      #elif defined(Q_PROCESSOR_ARM_32) // <-- definied
      #  if defined(thumb2) || defined(__thumb2__) || ((defined(__thumb) || defined(__thumb__)) && __TARGET_ARCH_THUMB-0 == 4) // <-- nothing defined
      #    define V4_ENABLE_JIT
      #  elif defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH_ISA_THUMB == 2 // clang 3.5 and later will set this if the core supports the Thumb-2 ISA.
      #    define V4_ENABLE_JIT
      #  endif
      ...
      

      I'm not quite sure if this is the mistake. I've tried to enable thumb (https://msdn.microsoft.com/en-us/library/gg155717(v=winembedded.70).aspx) in the solution properties, but i don't where and how.

      Thanks.

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

      @beecksche said in Qt 5.8.0 beta JIT on Win 10 IoT Core:

      but i don't where and how.

      i guess it has to be placed in the compiler flags. You need to rebuild Qt to make this fix apply. (At least the affected module)

      --- 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
      1
      • M Offline
        M Offline
        mkalinow
        wrote on last edited by
        #3

        The Jitter is not supported on ARM in general unfortunately. This is not Qt's fault. There is no public API to flush the cachelines for ARM, hence JIT cannot be functional.

        For "very simple" projects there is a WIP https://codereview.qt-project.org/#/c/163282/ but it will fail as your project gets bigger. Hence use this link rather as a reference on progress.

        On a general note, the Raspberry Pi performance is really bad, as there is no graphics driver for that device available for Win10 Iot. I've been playing with the Dragonboard here, and that one performs way better.

        Generally we also wanted to look into the latest software renderer for Qt Quick, as that one has partial updates, which might help with the situation.

        1 Reply Last reply
        1

        • Login

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