5

I'm trying to import QtQuick.Dialogs version 1.3 in a code that runs without any issue with version 1.2. However on runtime I get the following error

module "QtQuick.Dialogs" version 1.3 is not installed

I'm compiling with the default Desktop Qt 5.9.2 GCC 64bit kit

Anyone was a idea what is happening?

9
  • have you checked that QtQuick.Dialogs 1.3 is available with Qt 5.9.2 ... , it might be available with later Qt versions like 5.10. you need to check Jan 14, 2018 at 17:01
  • if importing QtQuick.Dialogs 1.2 works, then 1.3 is not available in your qt version Jan 14, 2018 at 17:03
  • According to the docs: doc-snapshots.qt.io/qt5-5.9/… you have to use import QtQuick.Dialogs 1.2
    – eyllanesc
    Jan 14, 2018 at 17:04
  • @eyllanesc I agree however they also have this page (doc.qt.io/qt-5/qml-qtquick-dialogs-filedialog.html) which is very confusing. Jan 14, 2018 at 18:58
  • That is the documentation for the current version of Qt, that is, Qt 5.10, you should look in the documentation of your version of Qt. doc-snapshots.qt.io/qt5-5.9.. is different to doc.qt.io
    – eyllanesc
    Jan 14, 2018 at 18:59

1 Answer 1

0

Try to import without version: import QtQuick.Dialogs

In the Qt 5.15.2 it works.

If you use newest version then install actuality version for example Qt 5.15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.