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 single vs. submodules
Forum Updated to NodeBB v4.3 + New Features

Compiling single vs. submodules

Scheduled Pinned Locked Moved General and Desktop
compilesubmodules
4 Posts 2 Posters 1.9k Views 2 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.
  • D Offline
    D Offline
    doug_r
    wrote on last edited by
    #1

    Hello. I have a question. A codebase I work on was recently upgraded to Qt5 fom Qt4. For various reasons, we roll our own version of Qt in some instances. Right now, we download the "everywhere" source file and basically compile it like we did under Qt4, with appropriate changes as needed. I've noticed that there are various submodules that can be downloaded. I believe I only need 4-5 of them. Is it possible to just download them and compile them individually, or using a file in qtbase, or something similar? I've tried Google and investigating the source myself. I can't seem to find an appropriate answer. The closest I've come is seeing a post implying that binaries built from qtbase can be used on other submodules.

    Thanks!

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

      Hi and welcome to devnet,

      Indeed, you can start by building only qtbase. Once that done, you can use it to build only the modules you want using the qmake of your freshly built qtbase.

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

      D 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Indeed, you can start by building only qtbase. Once that done, you can use it to build only the modules you want using the qmake of your freshly built qtbase.

        D Offline
        D Offline
        doug_r
        wrote on last edited by
        #3

        @SGaist - Thank you! I'll play around a bit and see what comes up. I may need a little help making sure everything's in the correct directories and such.

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

          I'd recommend using out of source builds so you can re-try as many time as you want

          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

          • Login

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