Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Compiling only selected modules
Forum Update on Monday, May 27th 2025

Compiling only selected modules

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 419 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.
  • O Offline
    O Offline
    Omni_Philm
    wrote on last edited by aha_1980
    #1

    Hello all,

    Recently I found out that in installing qt, I need to download the sources and compile the sources. I had thought that the installer would take care of this step for me.

    Anyways, I ma creating a portable OS on a flahs drive that contains qtCreator and linux mint. The flash drive size is 16 GB and I recently found out this is not adequate.

    Does anyone know the total size qt takes after installing qtCreator and compiling the source code?

    Also, since I am not planning to use every single module, is there a way for me to compile only the modules that I need at this time? I think I can save some space on my flash drive and get Qt to fit.

    aha_1980A 1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Since you're using a distribution - why can't you use the default Qt from there?
      If you really want to compile Qt5 on your own for whatever reason you can simply remove the unneeded modules from the source tree or use a configure switch as explained here: https://forum.qt.io/topic/103003/configure-skip-options-being-ignored

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • O Omni_Philm

        Hello all,

        Recently I found out that in installing qt, I need to download the sources and compile the sources. I had thought that the installer would take care of this step for me.

        Anyways, I ma creating a portable OS on a flahs drive that contains qtCreator and linux mint. The flash drive size is 16 GB and I recently found out this is not adequate.

        Does anyone know the total size qt takes after installing qtCreator and compiling the source code?

        Also, since I am not planning to use every single module, is there a way for me to compile only the modules that I need at this time? I think I can save some space on my flash drive and get Qt to fit.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Omni_Philm

        Recently I found out that in installing qt, I need to download the sources and compile the sources. I had thought that the installer would take care of this step for me.

        Sure, go to http://download.qt.io/official_releases/online_installers/ and use the online installer for your platform.

        Regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        2
        • O Offline
          O Offline
          Omni_Philm
          wrote on last edited by
          #4

          Hello thank you for your replies. I was thinking that I can use the latest version of qt on a new project.

          I only want to compile certain modules of Qt since I don't need all of them

          1 Reply Last reply
          0
          • O Offline
            O Offline
            Omni_Philm
            wrote on last edited by
            #5

            Ok so I Just decided to go for installing the packages that are specific for my distribution.

            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