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("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.") message("Note that this build cannot be deployed to other machines or devices.")
endif() endif()
message("\nTo configure and build other modules, you can use the following convenience script: message("\nTo configure and build other Qt modules, you can use the following convenience script:
${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake") ${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake-private")
message("\nIf reconfiguration fails for some reason, try to remove 'CMakeCache.txt' \ message("\nIf reconfiguration fails for some reason, try to remove 'CMakeCache.txt' \
from the build directory \n") from the build directory \n")
endfunction() endfunction()