QT. Building from source. -dynamic
-
- 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 BuildsQt 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 ?
- configure.bat -top-level -debug -dynamic -prefix .\lib-debug
-
- 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 BuildsQt 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 ?
@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.
- configure.bat -top-level -debug -dynamic -prefix .\lib-debug