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. New to Qt and having issues updating an old application
Qt 6.11 is out! See what's new in the release blog

New to Qt and having issues updating an old application

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

    Getting the following error:

    QQmlApplicationEngine failed to load component
    qrc:/main.qml:44:1: module "QtQuick.Controls.Styles" is not installed
    Error: Your root item has to be a Window.
    QML debugging is enabled. Only use this in a safe environment.
    15:39:47: C:\Users\PlummerC\Desktop\EKC\build-ekc-Desktop_Qt_6_5_3_MinGW_64_bit-Debug\debug\ekc.exe exited with code -1

    The application was developed a few years ago and was working. The error is probably due to changes needed due tho version changes of Qt.

    sierdzioS 1 Reply Last reply
    0
    • C Colin_X1

      Getting the following error:

      QQmlApplicationEngine failed to load component
      qrc:/main.qml:44:1: module "QtQuick.Controls.Styles" is not installed
      Error: Your root item has to be a Window.
      QML debugging is enabled. Only use this in a safe environment.
      15:39:47: C:\Users\PlummerC\Desktop\EKC\build-ekc-Desktop_Qt_6_5_3_MinGW_64_bit-Debug\debug\ekc.exe exited with code -1

      The application was developed a few years ago and was working. The error is probably due to changes needed due tho version changes of Qt.

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @Colin_X1 Styles are for Qt Quick Controls 1.0 which are not supported anymore I think. You need to port to Qt Quick Controls 2 or use some older Qt version.

      (Z(:^

      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