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. Blank Error Message
Qt 6.11 is out! See what's new in the release blog

Blank Error Message

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 436 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
    admkrk
    wrote on last edited by admkrk
    #1

    I am not sure if this belongs here or somewhere else, but it seems to be QML related.

    When I build my project, I get 3 warnings and 2 errors. Both errors are

    :-1: error:
    

    It is pretty hard to figure out where to look from that.

    The warnings are

    :-1: warning: Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Windows
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.macOS
    
    :-1: warning: Warning: This version only understands SDK XML versions up to 2 but an SDK XML file of version 3 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
    
    :-1: warning: Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
    

    From what I have been able to find the warnings can be ignored. How do I figure out what the errors are though? At this point it is just GUI, but I would rather not have something bite me in the butt once I start adding logic.

    Using Qt6.3 and QtCreator 7.0.2 on a Windows10 VM

    <edit>
    There are no errors or warnings if I build for desktop, only when building for Android.
    </edit>

    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