You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will probably be solved with a combination of either ament_index_cpp (to have a relocatable solution to finding the files at runtime) and QDir/QFile/QFileInfo to replace boost::filesystem.
The text was updated successfully, but these errors were encountered:
Will this use the resource_retriever from #51 or should ament_index_cpp be used directly?
We should use resource_retriever if possible. If resource_retriever gives us a file:// back from a package:// then we can use that directly. Otherwise we'll have to let resource_retriever open the file and see if QPixmap has a version of .load() that takes a buffer/file-like object instead of a path.
See:
rviz/rviz_common/src/rviz_common/load_resource.cpp
Lines 45 to 62 in ca8f42e
rviz/rviz_common/src/rviz_common/load_resource.cpp
Lines 69 to 91 in ca8f42e
rviz/rviz_common/src/rviz_common/load_resource.cpp
Lines 104 to 118 in ca8f42e
rviz/rviz_common/src/rviz_common/load_resource.cpp
Lines 123 to 165 in ca8f42e
This will probably be solved with a combination of either
ament_index_cpp
(to have a relocatable solution to finding the files at runtime) andQDir
/QFile
/QFileInfo
to replaceboost::filesystem
.The text was updated successfully, but these errors were encountered: