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. Cannot import QtQuick.Dialog in one specific project....
Forum Updated to NodeBB v4.3 + New Features

Cannot import QtQuick.Dialog in one specific project....

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 1 Posters 742 Views
  • 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.
  • aarelovichA Offline
    aarelovichA Offline
    aarelovich
    wrote on last edited by
    #1

    I've got the following error upon trying to add QtQuick.Dialogs 1.(0/1/2) to my project:

    qrc:/qml/main.qml:4 module "QtQuick.Dialogs" is not installed
    

    Now Here is the thing, if I create a completely new app (standard empty QtQuick application) and add this line and the file dialog example from QML FileDialog documentation, then there is no problem.

    Any ideas on what the problem might be?

    1 Reply Last reply
    0
    • aarelovichA Offline
      aarelovichA Offline
      aarelovich
      wrote on last edited by
      #2

      Solved it!! It turns out that the problem was that I had used windeployqt on that folder. This conflicted with adding new qtquick components. The solution was to delete everything in the output folder and generate a clean compiled and it worked. In case it helps anyone else...

      aarelovichA 1 Reply Last reply
      0
      • aarelovichA aarelovich

        Solved it!! It turns out that the problem was that I had used windeployqt on that folder. This conflicted with adding new qtquick components. The solution was to delete everything in the output folder and generate a clean compiled and it worked. In case it helps anyone else...

        aarelovichA Offline
        aarelovichA Offline
        aarelovich
        wrote on last edited by
        #3

        @aarelovich I meant on the output folder when I said "that folder"

        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