Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Proper way to install source components
QtWS25 Last Chance

Proper way to install source components

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 3 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DaBoba
    wrote on last edited by
    #1

    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

    In theory, theory and practice are the same. In practice, they are not. - Albert Einstein

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What do you mean by "install the sources components" ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DaBoba
        wrote on last edited by
        #3

        Hello SGaist,

        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!"

        Regards,

        DaBoba

        In theory, theory and practice are the same. In practice, they are not. - Albert Einstein

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You have to build and install the module before you can use it. The sources are just the code.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            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?

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • D Offline
              D Offline
              DaBoba
              wrote on last edited by
              #6

              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

              In theory, theory and practice are the same. In practice, they are not. - Albert Einstein

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                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.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved