Proper way to install source components
-
Hello all,
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, ...).
Regards,
DaBoba
-
Hi,
What do you mean by "install the sources components" ?
-
You have to build and install the module before you can use it. The sources are just the code.
-
Hi,
Take note:
- "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?
-
Hello,
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.
Regards
DaBoba
-
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.