qt5->qt6 Migration / Qml
-
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?
-
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)