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. Yocto imx6 Qt5.9 and QtQuick.Extras
Forum Updated to NodeBB v4.3 + New Features

Yocto imx6 Qt5.9 and QtQuick.Extras

Scheduled Pinned Locked Moved Solved Mobile and Embedded
qtquick.extrasyocto
7 Posts 2 Posters 6.9k 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.
  • R Offline
    R Offline
    Retasor
    wrote on 16 Nov 2017, 08:01 last edited by
    #1

    Hello Everyone,

    I tried to find an answer on the existing posts or a similar topic. I was not able to find something similar in the forums.

    I'm have build Yocto for an imx6 platform with Qt5.9 support. It seems to work but I have troubles with including:

    import QtQuick.Controls.Styles 1.4
    import QtQuick.Extras 1.4
    

    It tells me that it is not available and indeed I cannot find it in my generated SDK or on the target.
    I need it to make use of the CircularGauge

    I think the Extras package is part of the Qt.QuickControls and I have included the it to my BB-file

        qtbase-plugins \
        qtbase-tools \
        qtdeclarative \
        qtdeclarative-plugins \
        qtdeclarative-tools \
        qtdeclarative-qmlplugins \
        qtmultimedia \
        qtmultimedia-plugins \
        qtmultimedia-qmlplugins \
        qtsvg \
        qtsvg-plugins \
        qtsensors \
        qtimageformats-plugins \
        qtsystems \
        qtsystems-tools \
        qtsystems-qmlplugins \
        qtscript \
        qt3d \
        qt3d-qmlplugins \
        qtwebkit \
        qtwebkit-examples-examples \
        qtwebkit-qmlplugins \
        qtgraphicaleffects-qmlplugins \
        qtconnectivity-qmlplugins \
        qtlocation-plugins \
        qtlocation-qmlplugins \
        cinematicexperience \
        qt5-env \
        qtserialbus \
        qtquick1 \
        qtquick1-plugins \
        qtquick1-qmlplugins \
        qtquickcontrols \
        qtquickcontrols-qmlplugins \
    
    

    I hope someone can tell me how I should add the Extras package which contains the CircularGauge.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tomasz3dk
      wrote on 16 Nov 2017, 08:49 last edited by
      #2

      Try to add

      qtquickcontrols2
      

      to your local.conf it contains "newer" versions of qml controls maybe QtQuick.Extras is also there. I have similar configuration but with qtquickcontrols2 and actually i have QtQuick.Extras included.

      R 1 Reply Last reply 16 Nov 2017, 09:20
      0
      • T tomasz3dk
        16 Nov 2017, 08:49

        Try to add

        qtquickcontrols2
        

        to your local.conf it contains "newer" versions of qml controls maybe QtQuick.Extras is also there. I have similar configuration but with qtquickcontrols2 and actually i have QtQuick.Extras included.

        R Offline
        R Offline
        Retasor
        wrote on 16 Nov 2017, 09:20 last edited by
        #3

        @tomasz3dk said in Yocto imx6 Qt5.9 and QtQuick.Extras:

        Try to add

        qtquickcontrols2
        

        to your local.conf it contains "newer" versions of qml controls maybe QtQuick.Extras is also there. I have similar configuration but with qtquickcontrols2 and actually i have QtQuick.Extras included.

        Do you mean instead of qtquickcontrols or together with qtquickcontrols?
        I had already tried qtquickcontrols2 together with qtquickcontrols? But without success.

        Which version of meta-qt5 did you use?

        T 1 Reply Last reply 16 Nov 2017, 09:50
        0
        • R Retasor
          16 Nov 2017, 09:20

          @tomasz3dk said in Yocto imx6 Qt5.9 and QtQuick.Extras:

          Try to add

          qtquickcontrols2
          

          to your local.conf it contains "newer" versions of qml controls maybe QtQuick.Extras is also there. I have similar configuration but with qtquickcontrols2 and actually i have QtQuick.Extras included.

          Do you mean instead of qtquickcontrols or together with qtquickcontrols?
          I had already tried qtquickcontrols2 together with qtquickcontrols? But without success.

          Which version of meta-qt5 did you use?

          T Offline
          T Offline
          tomasz3dk
          wrote on 16 Nov 2017, 09:50 last edited by
          #4

          @Retasor I mean together. In my case it was Qt 5.7.1 and yocto morty release.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Retasor
            wrote on 17 Nov 2017, 13:47 last edited by
            #5

            I did figure out that the extras packages of qtquickcontrol was not build because of the missing Accessibility feature. Because I found something like this in the build log of qtquickcontrols

            Some of the required modules (contains(QT_CONFIG, accessibility)) are not available
            

            So now I need to figure out how I can enable the feature in my Yocto Qt build ;-)

            T 1 Reply Last reply 17 Nov 2017, 14:15
            0
            • R Retasor
              17 Nov 2017, 13:47

              I did figure out that the extras packages of qtquickcontrol was not build because of the missing Accessibility feature. Because I found something like this in the build log of qtquickcontrols

              Some of the required modules (contains(QT_CONFIG, accessibility)) are not available
              

              So now I need to figure out how I can enable the feature in my Yocto Qt build ;-)

              T Offline
              T Offline
              tomasz3dk
              wrote on 17 Nov 2017, 14:15 last edited by
              #6

              @Retasor Glad to hear that ;). I looked into my local.conf and i have a line:

              PACKAGECONFIG_append_pn-qtbase = " gles2 dbus freetype glib release eglfs cups sql-sqlite sql-mysql fontconfig evdev iconv alsa openssl icu zlib libpng jpeg harfbuzz accessibility widgets libs"
              

              that actually contains accessibility, so probably it's solution for your problem :).

              R 1 Reply Last reply 20 Nov 2017, 12:41
              1
              • T tomasz3dk
                17 Nov 2017, 14:15

                @Retasor Glad to hear that ;). I looked into my local.conf and i have a line:

                PACKAGECONFIG_append_pn-qtbase = " gles2 dbus freetype glib release eglfs cups sql-sqlite sql-mysql fontconfig evdev iconv alsa openssl icu zlib libpng jpeg harfbuzz accessibility widgets libs"
                

                that actually contains accessibility, so probably it's solution for your problem :).

                R Offline
                R Offline
                Retasor
                wrote on 20 Nov 2017, 12:41 last edited by
                #7

                @tomasz3dk Thanks for the help I did get this working.

                1 Reply Last reply
                0

                7/7

                20 Nov 2017, 12:41

                • Login

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