56Fermer58
FarewellLe 06/01/2016 à 17:58
Et ça, c'est portable ?
In order for find_package to be successful, Qt 5 must be found below the CMAKE_PREFIX_PATH, or the Qt5<Module>_DIR must be set in the CMake cache to the location of the Qt5WidgetsConfig.cmake file. The easiest way to use CMake is to set the CMAKE_PREFIX_PATH environment variable to the install prefix of Qt 5.
neutral
Donc autant hardcoder les chemins plutôt que d'utiliser leurs variables générées automatiquement, au moins on sait où on met les pieds, de toute façon il faut faire le travail...