Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT. Building from source. -dynamic
Qt 6.12 LTS is out! See what's new in the release blog

QT. Building from source. -dynamic

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 758 Views 1 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.
  • P Offline
    P Offline
    PolywickStudio
    wrote on last edited by
    #1
    • configure.bat -top-level -debug -dynamic -prefix .\lib-debug
      -- Windows 10 SDK version: 10.0.20348.0
      CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:300 (message):
      Unknown command line option '-dynamic'.
      Call Stack (most recent call first):
      qtbase/cmake/QtProcessConfigureArgs.cmake:685 (qtConfAddError)

    I'm trying to compile 6.6 beta sources. I get this error based on your documentation:

    https://doc.qt.io/qt-6.4/configure-options.html
    "Static and Shared Builds

    Qt Modules can be built as separate libraries that an executable links to and loads at start time (for Qt libraries), or runtime (for Qt plugins). This is called a shared build and is the default configuration on most platforms. The matching configure option is -dynamic. (Emphasis added)

    You can also build Qt such that an executable binary will include all Qt modules it links to and all Qt plugins it needs. This is called a static build and can be selected when configuring with the -static option."

    Can you tell me how to use parameter -dynamic ?

    SGaistS 1 Reply Last reply
    0
    • P PolywickStudio
      • configure.bat -top-level -debug -dynamic -prefix .\lib-debug
        -- Windows 10 SDK version: 10.0.20348.0
        CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:300 (message):
        Unknown command line option '-dynamic'.
        Call Stack (most recent call first):
        qtbase/cmake/QtProcessConfigureArgs.cmake:685 (qtConfAddError)

      I'm trying to compile 6.6 beta sources. I get this error based on your documentation:

      https://doc.qt.io/qt-6.4/configure-options.html
      "Static and Shared Builds

      Qt Modules can be built as separate libraries that an executable links to and loads at start time (for Qt libraries), or runtime (for Qt plugins). This is called a shared build and is the default configuration on most platforms. The matching configure option is -dynamic. (Emphasis added)

      You can also build Qt such that an executable binary will include all Qt modules it links to and all Qt plugins it needs. This is called a static build and can be selected when configuring with the -static option."

      Can you tell me how to use parameter -dynamic ?

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @PolywickStudio hi,

      By default, the build is dynamic so you should not need that option. That said, it looks like either the documentation is wrong or the script.

      I would suggest that you check the bug report system to see if there's already something about it and if not, please open a new ticket.

      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

      • Login

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