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. QtQuick UI doesn't work in android device [SOLVED]

QtQuick UI doesn't work in android device [SOLVED]

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.6k Views 1 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.
  • A Offline
    A Offline
    andrea993.93
    wrote on last edited by
    #1

    I've develop a qml UI, on pc it works but if I build the project for an android device I get these errors from application output:
    @W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Shared_Components/Image_ButtonEffected.qml:15 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Shared_Components/Image_ButtonEffected.qml:15:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Shared_Components/img/Button_effect.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/Button_Repeat.qml:18 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/Button_Repeat.qml:18:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/repeat.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Shared_Components/Image_ButtonEffected.qml:15 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Shared_Components/Image_ButtonEffected.qml:15:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Shared_Components/img/Button_effect.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/Button_Random.qml:18 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/Button_Random.qml:18:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/random.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/vuMeterBand.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/vuMeterBand.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/vuMeterBand.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/vuMeterBand.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/vuMeterBand.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/vuMeterBand.svg
    W/Qt (14394): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8 ((null)): assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/VUmeter_band.qml:8:5: QML Image: Invalid image data: assets:/qml/audioplayerPRJ/qmlcontrols/Main_Components/img/vuMeterBand.svg

    etc etc (similar errors)@

    maybe .svg files are not supported?
    Help me
    Thanks

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xanm
      wrote on last edited by
      #2

      probably you need to add svg to pro file

      i had the same error but this helps
      @QT += xml svg
      QTPLUGIN += qsvg@

      and will be better to remove old build dir

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andrea993.93
        wrote on last edited by
        #3

        Thanks very much it's work...

        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