mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
bea9385bb4
When QtCreator is used to build a CMake script, it defaults to storing the qmake to use in the variable "QT_QMAKE_EXECUTABLE" (this is tweakable in Tools->Options->Kits->CMake generator) We detect if QT_QMAKE_EXECUTABLE is already defined and if so, use that setting. Otherwise use the previous default (which is "qmake") Why this change? A user may have several Qt versions installed, and QtCreator supports managing between them via the IDE. Without this change the user will change between kits in the IDE but Renderdoc will still use the default qmake. This is problematic in Linux systems because the Qt version installed via the Qt installer is often more up to date than the distro-provided one