Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to solve the QtQuick.Dialogs not installed issue?
I am using Qt creator 4.2.1 based on Qt 5.8. I am getting the error Dialogs not installed when I am trying to import QtQuick.Dialogs.
I checked with all versions. Please help me to solve this issue.
Which Qt version are you using?
Which QtQuick.Dialogs import version are you using in your QML code?
@sierdzio I tried importing QtQuick.Dialogs 1.0 , 1.1 and 1.2. Neither of them is working. Qt version used is Qt 5.8.0
Qt version used is Qt 5.8.0
Are you sure? Earlier you've said that's the version Qt Creator was based on (which is not relevant info for this topic).
If yes, then hm... it should work. QtQuick.Dialogs are available since Qt 5.1. Are you importing both qml and quick in your .pro file?
QT += qml quickYou probably are, but I don't have any other ideas that that your installation is somehow broken.
@sierdzio I have included the variables qml quick in qt variable. I have tried reinstalling the qt creator and even upgraded the qt to qt 5.9.1 and still this is not working. Is there anything to do with the system I am using for development?
Unlikely, dialogs work on all systems if I recall correctly.