"QtQuick" version 2.0 is not installed for Qt Quick Application - qt

In Qt 5.0.2 with MinGW47_32 I finished coding my project using Qt Quick UI project. Now I would like to deploy it.
In Qt Quick UI project it is impossible. So I want to copy my project files to Qt Quick Application project and deploy it, but there I have error: qrc:/main.qml:1:1: module "QtQuick" version 2.0 is not installed.
In Qt Quick UI project I don't have this error.
At the top of my project I am using: import QtQuick 2.0.
Can someone help me, how to avoid this error?

Related

How to add androidextras into project with CMake?

I am newbie Qt, I am start developing the android app using QtCreator 6.4.
With qmake, it is easily to add androidextras into project, But I don't know how to add this into project with cmake ?
https://doc.qt.io/qt-5/qtandroid.html
Could you help me to add androidextras into project ?

How to open QML-Form files with Qt Creator 6.0.0?

I have just updated the Qt Creator to 6.0.0 and the QML-Designer is not available anymore.
I have opened a project, created with Qt Creator 5.0.3, and after the update is not possible to edit the form:
The installed version of Qt is 5.15.2.
How to open *.ui.qml files?
Looks like they're disabling it to try and steer people to Qt Design Studio.
"The integrated Qt Quick Designer is now disabled by default. Qt Creator will open .ui.qml files in Qt Design Studio. This is a step towards a more integrated workflow between Qt Design Studio and Qt Creator (video). Qt Quick Designer is still there, you can manually enable it again by checking the QmlDesigner plugin in Help > About Plugins." from here

An installer for Qt apps

I've created a Qt calculator app using Qt Creator 3.6.0 purely in C++ code (I didn't use Designer)
I would like to know how to use Qt to make it installable for publishing.
I ran the app in both Release and Debug modes and have both folders of the two.
I also downloaded and installed Qt Installer Framework Opensource 2.0.1 for my Qt Creator 3.6.0 (the IDE I use for Qt).
And I also have the .dll files needed to run the .exe file.
I've searched the Web for it. But since I'm a novice in Qt I can't do the works properly, or I don't understand. (They seem complicated)
Now, is there any straight forward method to use an installer for the app to make as platform independent as possible?
If so, what installer? And how to do the process? This is the first time for me.

A qt5 simple app doesn't run in windows 7

I use Qt 5.0.1 and Qt Creator 2.6.2 in W7. I tried to run a simple app from examples which contains only a window ("Widgets tutorial - creating a window"). When I run it in Qt Creator, it works. But when I run it as a standalone app (Release), it doesn't.
I filled the folder with every dll it had asked (26 MB of dlls, while the app is 10KB!!!). Now it doesn't ask for any files, it just doesn't run at all with no explanations.
I tried to add some files as it is advised in Application deployed with QT5 libraries does not start on Windows 7
but no luck. In
HelloWorld Deployment with QtQuick 2.0 in Windows 7 and XP
there are no problems in w7.
May be this a dependency problem, These links describes it:
Qt 5.0 program runs in QtCreator but not outside
How to build QTcore4.dll without dependency to MSVCx80.dll?
platforms/qwindows.dll is a "non-required" required DLL to run Qt5 apps. Build your app in Release mode and steal the DLL from Qt Creator's folder (or find it into Qt's bin/platforms folder)

How can I package my qt application with Qt Creator in Nokia Qt SDK

I have written a simple qt application with qt creator, I have tested with PC simulation and N900 device, It's OK. Qt Creator created a .deb file in my mobile. but it can't be installed. The installer always complained "incompatible package...".
The SDK document says I can modify my application's version, or I can skip the package step in the project setting, but in my Qt creator, there is no these setting at all.
Can anyone help me, thanks! :)

Resources