cmake: Suggest qt-cmake-private script for building other Qt modules

This automatically sets the CMake Generator to be the same as the one
used for qtbase.

Change-Id: If9e1a6942520417393055c572f0d892efca43d2e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Kai Koehne 2020-08-11 15:28:45 +02:00
parent 52fdb9dc93
commit ff6a3a80dd

View File

@ -29,8 +29,8 @@ function(qt_print_build_instructions)
message("Once everything is built, Qt is installed. You should NOT run '${install_command}'")
message("Note that this build cannot be deployed to other machines or devices.")
endif()
message("\nTo configure and build other modules, you can use the following convenience script:
${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake")
message("\nTo configure and build other Qt modules, you can use the following convenience script:
${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake-private")
message("\nIf reconfiguration fails for some reason, try to remove 'CMakeCache.txt' \
from the build directory \n")
endfunction()