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. qt5->qt6 Migration / Qml
Forum Updated to NodeBB v4.3 + New Features

qt5->qt6 Migration / Qml

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 140 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.
  • Z Offline
    Z Offline
    Zuuka
    wrote on last edited by
    #1

    I have a project i would like to migrate to qt6.
    The application crashes/aborts as qml could not be initialised/loaded.
    I enabled qml logging and debug messages and it seems the needed shared libs are loaded but i get errors for the qml modules.

    qt.qml.import: loading dependent import "QtQuick.Controls.Basic" version 6.8 as ""
    

    I guess this comes from the import of the qtquick module in the main.qml.
    There are other modules that can't be loaded, but not sure why ...it seems the modules itself are found and the the needed libs for this are loaded succesfully.

    Any clue where or what to check?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Do you get any warnings or errors printed? Have you tried running the app with debugger attached?

      Was your Qt 5 app using old QtQuick.Controls version 1 by any chance? (they have been removed, only controls version 2 are supported)

      (Z(:^

      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