Cannot create Qt qml project with Qt commercial charts - qt

Getting error
module "QtCommercial.Chart" is not installed
when trying to import
QtCommercial.Chart 1.3
in qml file
Please help

Assuming you have a commercial license, and have downloaded Charts via the Maintenance Tool... Unlike other Qt modules, Charts does not come pre-built. Only the source seems to be provided (as of Qt 5.2.1). See Digia's QtCharts documentation for instructions on how to build from source, and to include it in your project.

Related

Why can't I import Qt3D modules?

I'm going to start a project with Qt Canvas 3D application, but at the moment of importing modules it marks me error because they need those modules that are the following:
import Qt3D 1.0
import Qt3D.Shapes 1.0
Does anyone know how I can attach them? (Download link, download command or some other solution).
Thank you.
Which version of Qt are you using?
Qt 5.4 and newer come with Qt3D 2.0, so it might be that you are following some old tutorial or something, and trying to import Qt3D 1.0 because instead of Qt3D 2.0?
If so, the API has also changed a lot so you would be better off finding an example using Qt3D 2.0 to get you started. Take a look at any examples you have installed that are using Qt3D, and take a lookQt 3D QML Types for an example on importing v 2.0.
Here are some examples for Canvas3D. It's for Qt 5.9, but I think most of them were the same in 5.8. They also come with the Qt creator, just search "canvas 3d" in the welcome screen

Qt Creator: distribute an app

I'm new to Qt - please, can someone tell me how to build an app so I can run in on other computer without Qt?
I downloaded Qt for Mac, I can run the provided examples. Now I would like to distribute the resulting application in a self-contained package so that users don't have to install or do anything. What do I have to do?
I have the very latest 5.0.1 version.
This is documented in Qt's documentation:
http://qt-project.org/doc/qt-5.0/qtdoc/deployment.html
Note that currently, a static build of Qt 5.0 does not work. (4.8 works.)

Link to Qt SDK? [duplicate]

I haven't used Qt on Windows in a while. I know that now we're supposed to download the open source version from the Qt Project website.
But the page at http://qt-project.org/downloads has separate links to installers for Qt libraries and Qt Creator. I remember being able to just download the full SDK and get started, but now I have t separately install MinGW, the libraries and Qt Creator.
Can I still get the libraries and Qt Creator in a single bundle, and if yes, where should I look?
Digia distributes the SDK now. Not sure if it's still free. http://qt.digia.com/Product/Qt-SDK/
I just downloaded Qt SDK from http://download.cnet.com/Qt-SDK/3000-2069_4-75305206.html
It seems to be working, although windows says the installer is unsigned.
There is a installation guide plus full SDK (1.2.1), both LINUX/WINDOWS including supplemental files. No non-functional Windows-MinGW installation is required here.

add qt and qt mobility to my project

I've been reading about qt for some time now and would like to use it to write application for Nokia devices. But there is one thing unclear for me. Let say my aplication uses qt and qt mobility so anyone who would like to install it would have to install qt and qt mobility manually first. Am I getting it right? Or maybe there is a way to add them to my project as static libraries or something...thanks for any help
Nokia Smart Installer eliminates the need for Symbian apps to bundle the Qt framework in distributed SIS files. When an app packaged with Smart Installer is installed, a check is made for the presence of the required Qt packages. If any Qt packages are not present Smart Installer downloads and installs them.
You need download the qt-mobility source code and compile it,
See QtMobility 1.2.2: Installation Guide

How can I create a new Qt localisation for Qt itself?

Our application is localised and I have pulled in all the standard Qt_*.qm files as well so that my Qt dialogs are translated as much as possible.
However one of our distributors wants to add the Danish translation and its not in the standard Qt translation files.
How can I get Qt to create the file so I can send it off for translation?
There is some information about translation of Qt itself:
http://doc.trolltech.com/4.6/internationalization.html#produce-translations
it's said that templates for qt translation (*.ts files) should be in the ${QTDIR}/translations directory. I can't see them in my Qt4 installation from official Ubuntu repository but I think they should be included in distributions provided by Nokia on official download page.
Edit
Idea how to generate new empty *.ts file for qt itself can be found in translations/translations.pri directory of qt sources. For Qt 4.6.3 it will be
lupdate -locations relative -no-ui-lines -I../include -I../include/Qt corelib gui-ts ../qt_my.ts

Resources