[CMake] Finding custom qmake path

Stéphane Ancelot sancelot at numalliance.com
Tue Sep 3 09:36:04 EDT 2019


I solved it using

|get_target_property (QT_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION)|


Le 03/09/2019 à 15:05, Stéphane Ancelot a écrit :
>
> Hi,
>
> Is there a way to find qmake path of a custom setup in order using it 
> an add_custom_command
>
> my QT5 path is available in CMAKE_PREFIX_PATH.
>
>
> Regards,,
>
> S.Ancelot
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190903/9aefd54e/attachment.html>


More information about the CMake mailing list