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. Build only corelib and gui?
Forum Updated to NodeBB v4.3 + New Features

Build only corelib and gui?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 4 Posters 1.4k Views 4 Watching
  • 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.
  • VRoninV Offline
    VRoninV Offline
    VRonin
    wrote on last edited by
    #1

    Do you know if there's a way to only compile corelib and gui from qtbase without the rest? I found this old mail from @paul-colby but it doesn't seem to work...

    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
    ~Napoleon Bonaparte

    On a crusade to banish setIndexWidget() from the holy land of Qt

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

      Hi,

      From the configure script, I think you can only disable widgets with -no-widgets.

      Maybe you can try with the new QtLite configuration system ?

      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
      1
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        Thanks, that's actually a good suggestion, unfortunately doesn't apply to my case as I'm trying to compile on a service that requires open source (hence, I can't use Qt Lite) but times out after 50mins

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

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

          AFAIK, the editor itself is part of the commercial offering. The configuration system itself is available for all Qt versions.

          I don't remember how exactly QtLite is working but I think you should be able to create your feature configuration and somehow pass it to the configure script.

          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
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Don't know exactly what you want to do but doing a 'make install' inside corelib and gui should only install those two components...

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

            VRoninV 1 Reply Last reply
            1
            • Christian EhrlicherC Christian Ehrlicher

              Don't know exactly what you want to do but doing a 'make install' inside corelib and gui should only install those two components...

              VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by
              #6

              @Christian-Ehrlicher Hi, no I want to build a patched version of corelib and gui without re-building the rest

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              1 Reply Last reply
              0
              • Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Then you need the exact compiler switches used for the binaries which can get difficult. And even then - just configure and only compile inside those two subdirectories.

                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
                0
                • VRoninV VRonin

                  Thanks, that's actually a good suggestion, unfortunately doesn't apply to my case as I'm trying to compile on a service that requires open source (hence, I can't use Qt Lite) but times out after 50mins

                  Pablo J. RoginaP Offline
                  Pablo J. RoginaP Offline
                  Pablo J. Rogina
                  wrote on last edited by
                  #8

                  @VRonin as @SGaist mentioned the configuration system is open source, so you may want to take a look at this blog entry along with this QtWS17 presentation from the same person.

                  Upvote the answer(s) that helped you solve the issue
                  Use "Topic Tools" button to mark your post as Solved
                  Add screenshots via postimage.org
                  Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                  1 Reply Last reply
                  1

                  • Login

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