Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Build Qt6 libs only



  • It seems a silly question but I'm not able to tell configure to build libs only.
    The help says:

    -make <part> ......... Add <part> to the list of parts to be built.
                           Specifying this option clears the default list first.
                           (allowed values: libs, tools, examples, tests,
                           benchmarks, manual-tests, minimal-static-tests)
                           [default: libs and examples, also tools if not
                           cross-building, also tests if -developer-build]
    -nomake <part> ....... Exclude <part> from the list of parts to be built.
    

    So, at first I tried:

    $ ../qt5/configure -make libs -opengl es2 -sql-mysql -no-gbm -no-kms -no-xcb
    + mkdir -p qtbase
    + cd qtbase
    + exec /home/user/qt5/qtbase/configure -top-level -make libs -opengl es2 -sql-mysql -no-gbm -no-kms -no-xcb
    CMake Warning at /home/user/qt5/qtbase/cmake/QtProcessConfigureArgs.cmake:247 (message):
     '-make libs' is not implemented yet.
    

    So why it's listed in the help but not implemented (yet)?

    Anyway, also:

    ../qt5/configure -nomake tools -nomake examples -nomake tests -nomake benchmarks -nomake manual-tests -nomake minimal-static-tests -opengl es2 -sql-mysql -no-gbm -no-kms -no-xcb 
    + mkdir -p qtbase
    + cd qtbase
    + exec /home/user/qt5/qtbase/configure -top-level -nomake tools -nomake examples -nomake tests -nomake benchmarks -nomake manual-tests -nomake minimal-static-tests -opengl es2 -sql-mysql -no-gbm -no-kms -no-xcb
    CMake Warning at /home/user/qt5/qtbase/cmake/QtProcessConfigureArgs.cmake:247 (message):
      '-nomake tools' is not implemented yet.
    

    fails.
    So how to build only the libraries?


Log in to reply