OpenRV icon indicating copy to clipboard operation
OpenRV copied to clipboard

Cmake: add Qt5 `resources` and `translations` folder variables

Open johhnry opened this issue 2 years ago • 1 comments
trafficstars

Issue: #2

This PR adds two cached variables for the Qt5 dependency:

  • RV_DEPS_QT5_RESOURCES_FOLDER (defaults to "${RV_DEPS_QT5_LOCATION}/resources")
  • RV_DEPS_QT5_RESOURCES_FOLDER (defaults to "${RV_DEPS_QT5_LOCATION}/translations")

The variables can be set like this:

$ cmake -B cmake-build \
  -DRV_DEPS_QT5_LOCATION=/usr/lib64/qt5 \
  -DRV_DEPS_QT5_RESOURCES_FOLDER=/usr/share/qt5/resources \
  -DRV_DEPS_QT5_TRANSLATIONS_FOLDER=/usr/share/qt5/translations

Feel free to correct this @geffrak if you were thinking about something else!

johhnry avatar Jan 19 '23 16:01 johhnry

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: johhnry / name: Joseph Henry (6a0aff6c3b07922f9753e833878a8c77dc80c3c6)

@johhnry were you able to completely build OpenRV with this?

geffrak avatar Jan 23 '23 19:01 geffrak

@geffrak

I actually have issues when compiling PySide but it doesn't seem related to the above folders, I'll open an issue about this

Thanks!

johhnry avatar Jan 23 '23 21:01 johhnry