Important: Please read the Qt Code of Conduct -

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

  • 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?

  • 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...

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

Log in to reply