Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Proper way to install source components
while installing Qt 5.3.1, one have the possibility to choose additional source components. After the installation ends I'm able to find a 'Src' directory with the related content.
But how do I install the source components ? Especially when I have different targets (android, ios clang, ...).
What do you mean by "install the sources components" ?
I assume I have to do more steps than just checking the source component in the install process in order to use it in my code. When I try to import a module, e.g. QtLocation in QML it says "Module not installed!"
You have to build and install the module before you can use it. The sources are just the code.
- "source components" in the Qt installer give you the source code of the libraries that are already compiled and installed. You should never need to build "source components" yourself.
- Qt Location is not part of Qt 5.3, because it is not ready for release yet. Therefore, even if you select "source components", you will not get Qt Location source code.
What do you wish to do with the Qt Location module?
thank you for all your answers!
@SGaist: I did assume to do more steps. But I still do not know how to build the module for each of my targets.
@JKSH: After checking qtlocation I can find a 'Src'-directory in my installation. This directory even has an example folder included. I' m interested in using the Map component for a location based app.
Huh, looks like they included unreleased source code too.
I haven't tried this before, but I think you load qtlocation/src/location/location.pro in Qt Creator and compile the project.
Be warned: This feature is unreleased. It might not be stable.