qt_app.patch 661 B

1234567891011121314151617
  1. diff --git a/mkspecs/features/qt_app.prf b/mkspecs/features/qt_app.prf
  2. index 8354f30e..8f24b72e 100644
  3. --- a/mkspecs/features/qt_app.prf
  4. +++ b/mkspecs/features/qt_app.prf
  5. @@ -27,10 +27,11 @@ host_build:force_bootstrap {
  6. QT -= core core-private xml
  7. QT += bootstrap-private
  8. }
  9. target.path = $$[QT_HOST_BINS]
  10. + CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
  11. } else {
  12. !build_pass:qtConfig(debug_and_release): CONFIG += release
  13. - target.path = $$[QT_INSTALL_BINS]
  14. + target.path = $$[QT_HOST_BINS]
  15. CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
  16. }
  17. INSTALLS += target