add qt and qt mobility to my project - qt

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

Related

Using KDE in Qt Creator on Windows

I am new to Qt Creator and would like to ask about the configuration of KDE libraries in Qt Creator. I had downloaded Qt 5.2 and would like to use the KDE libraries for some GUI development. In addition,I am currently using Windows 7 OS for my development. I had done a bit of research but I can't really find the KDE libraries for windows. As for configuration method, it is just directing the libraries to the project directory and including commands like this:
LIBS += -lkdeui
in the .pro file?
Thank you everyone for helping.
KDE has a project to port KDE apps in windows. you can find it here http://windows.kde.org/ . You can change your windows appearance to KDE look which is called OXYGEN. if you want to change the look of your application or you want to use other KDE libraries download it and link your application against it. be sure to use the binary that is compiled against your version of Qt.

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.)

Installing Qt Creator with MinGW

So it looks like with Digia taking Qt over from Nokia, that it's quite a mess to get a few simple downloads.
If I now go to the downloads page (http://qt-project.org/downloads), I see that there's a single Qt Creator 2.6.2 download for Windows. When I download this and run the installation, it seems that MinGW is no longer packaged along with it.
I tried to install MinGW 4.4 separately and then add a toolchain, but nothing runs when I try to compile my CMake-based project.
I then came across the Nokia website that is offering Qt SDK 1.2.1; however it now looks that they require you to create an account to be able to download the installer.
Downloading the full set of Qt libraries is probably what is going to be suggested, but that's not the best idea, because I'm basically writing up an installation procedure for a CMake-based, open-source set of libraries that I've been working on for a while (http://tudat.tudelft.nl).
Users aren't happy with having to download all the Qt libraries, since we're not using any of them.
I've completely run out of solutions now (and mind you, this only seems to be a problem for Windows, since when I install Qt Creator on Linux and Mac, GCC auto-detection seems to work fine).
So, in short, does someone have a simple install routine to install Qt Creator and get it to work with MinGW to compile a CMake-based project?
Thanks in advance!
Kartik
PS: I know there are plenty of threads on Qt Creator + MinGW, but they all seem to be outdated now with the recent changes on both the Digia and Nokia websites.
I should add that the problem specifically is not that the toolchains can't be auto-detected under Windows. I've managed to get both MinGW and CMake auto-detected by Qt Creator by adding both to the system path. The problem is that when I then try to open the CMakeLists.txt file for my project, I can't select any generators.
Straight forward:
Install Qt Framework
Install MinGw
Install CMake
Install other stuff, e.g. git
Install Qt Creator
As you already mentioned, the chances are good that Qt Creator gets everything via auto detect. Nevertheless, you should check the Qt settings if everything is in place, e.g. the debugger.
The first time you open a cmake project, Qt Creator (should) ask for the tool chain to use. If you want to change the chain afterwards, delete the build files and cmake directories.
More details to Qt Creator and cmake: http://qt-project.org/doc/qtcreator-2.7/creator-project-cmake.html

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.

Is Qt Creator built with Qt Creator?

Questions:
Is Qt Creator built with Qt Creator?
Similarly, is Qt Designer built with Qt Designer?
BTW, why are there two Qt IDEs? Are they competitors? Which one should I use? I am using Creator.
What is Qt SDK? I am asking this because the Qt Designer & Creator 2.2.1 and Qtmake 4.7.4 that I installed thro ubuntu 11.10 s/w centre does not work. The build menu is all greyed out.
When I downloaded the latest QtSDK (2.3.1/4.7.4) into a separate installation into /opt/QtSDK, both the ubuntu sanctioned installation and the /opt/QtSDK would work as expected.
Why did my ubuntu sanctioned installation not work without the SDK? What does the SDK do?
This one is for Ubuntu enthusiasts - Qt IDE requires the SDK to work, and yet ubuntu released both Creator/Designer without checking if they work first? There is no QtSDK installation item in s/w centre. Is that intentional, or a procedural bug?
After I build my desktop app (I am building a tabbed file explorer) on Linux, what steps do I need to make to have it running on Windows 7/Vista? Will I rebuild on a windows version of Qt Creator?
I also notice that Qt Creator code generation is not perfect. It would forget to include some Qt library files in the auto-generated code, and I had to correct that manually.
Is Qt Creator built with Qt Creator?
I believe so.
That doesn't mean that everyone who works on Qt has to use it - just that I believe that lots of people do.
I don't work for any of the companies that have produced Qt, but my reasoning is:
A Google search for "dogfooding qt creator" brings up plenty of hits, including this comment from November 2010:
We’re also “dogfooding” by releasing complex apps like Qt Creator and the Ovi Suite on the desktop ports of Qt
They've put a massive amount of effort into Qt Creator over the last few years. It's hard to imagine that being worthwhile, unless they used it themselves
At recent Qt Developer Days, Qt Developers have spoken really enthusiastically about Qt Creator
Similarly, is Qt Designer built with Qt Designer?
Yes. A look at the Qt Designer source code shows plenty of .ui (Designer) files.
Why are there two Qt IDEs? Are they competitors? Which one should I use? I am using Creator.
When you edit .ui files insiide Qt Creator, you are still running Qt Designer: it's simply showing the Designer window inside Creator, for convenience.
What is Qt SDK? ... What does the SDK do?
Qt SDK is just a convenient way to download all the Qt tools in one go. You don't have to use it.
This one is for Ubuntu enthusiasts ... Is that intentional, or a procedural bug?
Sorry - no idea. It's hard to imagine it being intentional though.
After I build my desktop app (I am building a tabbed file explorer) on Linux, what steps do I need to make to have it running on Windows 7/Vista? Will I rebuild on a windows version of Qt Creator?
You will need to install Qt on a Windows PC, and then build your source code in it.
You can either do that by using Qt Creator and the Windows compiler it includes (mingw) or you can use another compiler, if you have one, e.g. Visual Studio.
I also notice that Qt Creator code generation is not perfect. It would forget to include some Qt library files in the auto-generated code, and I had to correct that manually.
If you've used any non-Qt classes in arguments to signals and slots, then this answer may help you there.

Resources