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. Unable to create QtQuick Application
Forum Updated to NodeBB v4.3 + New Features

Unable to create QtQuick Application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
13 Posts 6 Posters 1.7k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    On which OS does it happen ?
    How did you install Qt Creator ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    S 1 Reply Last reply
    0
    • C Offline
      C Offline
      criegel
      wrote on last edited by
      #5

      This happens for me as well.

      QT Creator 14.0.1, Qt 6.7.2, Windows 11.

      Qt Setup now gives 5 options for "Custom Initialization", "Qt 6.7 for desktop development", "Qt Design Studio", "Qt 6.7 for Android Automotive", and "Qt 6.7 for mobile development". I initially tried setup with 6.7 for desktop and mobile selected, but I later uninstalled and tried again with a custom installation. Both gave the same issue reported by SemManz. Selecting "Qt Quick Application" does not generate any files from the "New Project" option in Qt Creator.

      I later tried Qt Designer. It did make a Qt Quick application. I tried opening the Qt Designer created project in Qt Creator and it did open, but it would not run it. It errored out with:

      module "QtQuick.Studio.Application" is not installed
      

      The Qt Quick application would, however, run in Qt Designer.

      Based on internet searches, one forum suggested adding the "QMLDesigner" plugin in Qt Creator, however this didn't change the "New Project" output.

      In the MaintenceTool I installed everything under the Qt > Qt 6.7.2 branch, Qt Design Studio 4.5.1, and what I thought appropriate under the "Developer and Designer Tools".

      S 1 Reply Last reply
      1
      • vTownBoyV Offline
        vTownBoyV Offline
        vTownBoy
        wrote on last edited by
        #6

        I can confirm this:

        Screenshot_20240825_201719.png

        Normally in Qt creator 13 in this window under the "Files to be added:" text there would be a lot of files that would be created.

        I am on:
        Qt Creator 14.0.1
        Based on Qt 6.7.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)

        Built on Aug 6 2024 00:14:25

        1 Reply Last reply
        0
        • SGaistS SGaist

          On which OS does it happen ?
          How did you install Qt Creator ?

          S Offline
          S Offline
          SemManz
          wrote on last edited by
          #7

          @SGaist Windows 11 and installed from the official website, almost 3 times now but can't seem to understand why this happens

          1 Reply Last reply
          0
          • C criegel

            This happens for me as well.

            QT Creator 14.0.1, Qt 6.7.2, Windows 11.

            Qt Setup now gives 5 options for "Custom Initialization", "Qt 6.7 for desktop development", "Qt Design Studio", "Qt 6.7 for Android Automotive", and "Qt 6.7 for mobile development". I initially tried setup with 6.7 for desktop and mobile selected, but I later uninstalled and tried again with a custom installation. Both gave the same issue reported by SemManz. Selecting "Qt Quick Application" does not generate any files from the "New Project" option in Qt Creator.

            I later tried Qt Designer. It did make a Qt Quick application. I tried opening the Qt Designer created project in Qt Creator and it did open, but it would not run it. It errored out with:

            module "QtQuick.Studio.Application" is not installed
            

            The Qt Quick application would, however, run in Qt Designer.

            Based on internet searches, one forum suggested adding the "QMLDesigner" plugin in Qt Creator, however this didn't change the "New Project" output.

            In the MaintenceTool I installed everything under the Qt > Qt 6.7.2 branch, Qt Design Studio 4.5.1, and what I thought appropriate under the "Developer and Designer Tools".

            S Offline
            S Offline
            SemManz
            wrote on last edited by
            #8

            @criegel I believe there must be an issue in initialization process because I tried different setups as well. Although, the first time I installed Qt on my PC, it worked perfectly fine. Have no clue what happened after.

            1 Reply Last reply
            0
            • S SemManz

              I have been trying to create a Qt Quick Application but at the end, no files are created and hence the project is not created. Is there any way to solve this problem.
              QTQuickIssue.png

              S Offline
              S Offline
              SemManz
              wrote on last edited by
              #9

              I am able to create Qt Quick (Compact) project but not Qt Quick. Does this mean something?

              1 Reply Last reply
              0
              • C Offline
                C Offline
                criegel
                wrote on last edited by
                #10

                I presume it's a bug in Qt Creator. In prior versions I've had no problems creating Qt Quick applications.

                1 Reply Last reply
                1
                • S Offline
                  S Offline
                  SemManz
                  wrote on last edited by SemManz
                  #11

                  I found another problem here. I am able to create a qt quick application if I do not select the "open in qt design studio". Now I need to figure out what could be wrong here that Qt Design Studio is unable to open the qml file in Qt Quick application.

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    VincentW
                    wrote on last edited by VincentW
                    #12

                    Same problem here; no files to add, and when clicking on Finish nothing happens other than the dialog being closed. I turned on logging and found a message about asserting some files in a (on Windows) sub directory under C:\Users\qt... (which does not exist).
                    Will try and revert to older version of Qt Creator.

                    09:07:03.067 default: SOFT ASSERT [09:07:03.067]: "!m_files.isEmpty()" in C:\Users\qt\work\build\qt-creator\src\plugins\projectexplorer\jsonwizard\jsonwizard.cpp:337

                    1 Reply Last reply
                    0
                    • JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #13

                      It's most likely this regression:

                      [Reg 13->14] Fail to create Qt Quick Application with option "Create a project that you can open in QDS" in Qt Creator 14

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      1 Reply Last reply
                      0
                      • JKSHJ JKSH referenced this topic on

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved