ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hello there,
I found the solution of your question.
file(GLOB QT_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} resources.qrc)
You need to this line just above qt5_add_resources(RESOURCES_RCC ${RESOURCE})
in your cmake file. You also need to put your resource folder into the main directory. For example: src/work_project/<resource folder>
I hope you will be able to fix problem with this.
2 | No.2 Revision |
Hello there,
I found the solution of your question.
file(GLOB QT_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} resources.qrc)
You need to this line just above qt5_add_resources(RESOURCES_RCC ${RESOURCE})
in your cmake file. You also need to put your resource folder into the main directory. For example: src/work_project/<resource folder>
I hope you will be able to fix problem with this.
I think everother think with your code is perfect. I have tried it myself.
3 | No.3 Revision |
Hello there,
I found the solution of your question.
file(GLOB QT_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} resources.qrc)
You need to this line just above qt5_add_resources(RESOURCES_RCC ${RESOURCE})
in your cmake file. You also need to put your resource folder into the main directory. For example: src/work_project/<resource folder>
I hope you will be able to fix problem with this.
I think everother think with your code is perfect. I have tried it myself.
if you have any question feel free to drop commet.
4 | No.4 Revision |
Hello there,
I found the solution of your question.
file(GLOB QT_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} resources.qrc)
You need to this line just above qt5_add_resources(RESOURCES_RCC ${RESOURCE})
in your cmake CMake file. You also need to put your resource folder into the main directory. For example: src/work_project/<resource folder>
I hope you will be able to fix the problem with this.
I think everother think with your every other code is perfect. I have tried it myself.
if you have any question questions feel free to drop commet.comment.