element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum How do I upgrade the Qt version ?
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 57 subscribers
  • Views 972 views
  • Users 0 members are here
  • yocto
  • yocto image build
  • qt5
  • qt5-meta-lay
  • maaxboard
Related

How do I upgrade the Qt version ?

akoc
akoc over 4 years ago

Hello all,

 

The Qt version is 5.10.1 in the system I am currently using. Can I upgrade to 5.15? And how do I include all packages of qt in my system?

When I try to compile my application and run it on my device, I get the following error.

 

QQmlApplicationEngine failed to load component

qrc:/...:55 module "QtQuick.Extras" is not installed

qrc:/...:53 module "QtQuick.Controls" is not installed

qrc:/...:54 module "QtQuick.Controls.Styles" is not installed

qrc:/...:55 module "QtQuick.Extras" is not installed

qrc:/...:53 module "QtQuick.Controls" is not installed

qrc:/...:54 module "QtQuick.Controls.Styles" is not installed

qrc:/...:55 module "QtQuick.Extras" is not installed

qrc:/...:53 module "QtQuick.Controls" is not installed

qrc:/...:54 module "QtQuick.Controls.Styles" is not installed

 

 

I think if I upgrade the qt version I will solve this problem. Am I wrong?

 

 

My device,

 

Maaxboard

https://www.avnet.com/shop/us/products/avnet-engineering-services/aes-mc-sbc-imx8m-g-3074457345642080716?INTCMP=AMER-ECOMM-AVNET-BOARDS-AVT-INT-WEB- MAXBOARD-PRODUCTS-08282020

 

My build tools

https://github.com/Avnet/meta-maaxboard?ICID=maaxboard-datasheet-widget

  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 4 years ago

    Hi,

     

    It does appear the QT installed on the based OS is giving you issues with your application. Does QT 5.15 have the missing modules?

     

    -Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • akoc
    0 akoc over 4 years ago in reply to jafoste4

    I solved this problem by adding the following packages to my configuration and compiling image and sdk again,

     

     

    ... / conf / local.conf

     

     

    PACKAGECONFIG_append_pn-qtbase = "accessibility"

    PACKAGECONFIG_append_pn-qtquickcontrols = "accessibility"

     

     

    IMAGE_INSTALL_append = "\

    qtdeclarative-qmlplugins \

    qtconnectivity-qmlplugins \

    qtlocation \

    qtlocation-plugins \

    qtlocation-qmlplugins \

    qtlocation-examples \

    cinematicexperience \

    cairo pango fontconfig freetype pulseaudio dbus \

    alsa-lib alsa-tools alsa-state fsl-alsa-plugins alsa-utils \

    i2c-tools \

    qtquickcontrols-qmlplugins \

    qtquick1 \

    qtscript \

    qtquickcontrols2 \

    \

    "

     

     

    But when i run the application i get the following error

     

    $ ./dashboard -platform wayland

    Failed to create display (No such file or directory)

     

     

    But i am sure my application is working. I'm printing something to the console in the software

    I can run my application with the following command,

     

     

    . $ / dashboard -platform minimal

    qml: 0.00003289866931044383

    qml: 0.003289747877317506

    qml: 0.010657910391161929

    qml: 0.022234013618702142

    qml: 0.03801480781383593

    qml: 0.05799586285241243

    qml: 0.08053782012851507

    qml: 0.10863987105831696

    qml: 0.14307861455023219

    qml: 0.1773762133457918

    qml: 0.22066755437882057

    qml: 0.2656912390696692

    qml: 0.3148512692620531

    qml: 0.3681338443174037

    qml: 0.4255240062798904

    qml: 0.4870056440755516

    .

    .

    .

     

     

    But i can't view the interface.

     

    Platforms in the system

    minimal, offscreen, vnc, wayland-egl, wayland.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube