Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
module "QtQuick" version 2.12 is not installed
We are upgrading our software from Qt 5.7, but it crashes with the dreaded module "QtQuick" version 2.12 not installed
import QtQuick 2.12
[Edit] I don't mind including the module or library, I just don't know how to find this one.
The application runs fine, inside qtcreator, on the machine where I installed Qt 5.12.3. I'm now working on a deployment strategy for other machines. Both machines have the same Ubuntu packages. The machine with the error does not have the Qt 5.12 package installed. (Due to disk space, that may not be an option.) There are no files in /usr/lib with the characters qt.
As a complete newbie to Qt and the Qt way of doing things, where do I find (and how do I install) the QtQuick beast? Is it an OS package? I cannot find one with that exact name. (There are lots of qml-module-qtquick-blahblah-5.12.2_amd64.deb packages, along with lots of dependencies.) Is there another option, such as copying libraries buried somewhere, such as /opt/Qt5.12.3/Tools/QtCreator/lib/Qt/lib, from the machine with Qt 5.12.3 installed?
I have found https://doc.qt.io/qt-5/qtqml-syntax-imports.html#qml-import-path, but do not know how to examine the path. (I'm a complete Qt newbie, remember.) I've seen other module "QtQuick" version X.Y is not installed questions, but none with an answer to where to find it.
Due to disk space, that may not be an option
You can't use a Qt application without Qt libs used by this application. So you will anyway have to install parts of Qt you need - why is it not an option?
Alternative is to deploy your app with all Qt modules used by it. There is a deployment tool you can use for that: https://github.com/probonopd/linuxdeployqt
Hi and welcome to devnet,
Beside what @jsulm wrote, you have to check the QtQuick import version that is available in Qt 5.7.
These version changes when new stuff and fixes are made.
@jsulm All I have is a 32GB disk and several canned videos that need to be included. I probably should have been clearer, I don't mind copying the library/module, I just don't know where to find it. I do want to avoid the shotgun approach of including a bazillion library files when I only need one or two. (And at this point, I don't know where to place them, either.) I'll check your link, but the description says it's to make a self-contained app. I'm still trying to get my application built. :-(
That just means a directory with your executable and all needed libs
Okay, I think I found what I was looking for. Instead of looking for the library in /opt/Qt-blah-blah, I needed to look at in the Ubuntu repositories for something named qml-module-qtquick. If this works out, I'll mark the question solved. If someone has suggestions, like "you usually need all these modules" or "here is a table describing the versions" I'll happily upvote their reply. (I don't see a way to credit someone with solving/answering the question, as is done on some of the other forums.)
I apologize for not providing more detail in the original question. These hosts are air-gapped, so I can't just do a apt-cache search qtquick.